Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 105.7 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003136/0.003136, allocations: 0.5649 MB / 291.8 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 59.91 kB / 403.1 MB, free: 32.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08079/0.08199, allocations: 49.59 MB / 452.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.3976/0.4797, allocations: 179.3 MB / 0.6172 GB, free: 15.03 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005407/0.4851, allocations: 3.185 MB / 0.6203 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007965/0.486, allocations: 23.88 kB / 0.6203 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.4871, allocations: 397.5 kB / 0.6207 GB, free: 11.43 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004033/0.4912, allocations: 1.585 MB / 0.6223 GB, free: 9.844 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.4938, allocations: 1.11 MB / 0.6234 GB, free: 8.738 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002767/0.4966, allocations: 2.395 MB / 0.6257 GB, free: 6.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000958/0.4976, allocations: 0.5951 MB / 0.6263 GB, free: 5.738 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/0.4997, allocations: 1.008 MB / 0.6273 GB, free: 4.727 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.5012, allocations: 0.7278 MB / 0.628 GB, free: 3.996 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001948/0.5014, allocations: 80 kB / 0.628 GB, free: 3.918 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/0.504, allocations: 1.022 MB / 0.629 GB, free: 2.895 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000331/0.5044, allocations: 327.1 kB / 0.6294 GB, free: 2.574 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005816/0.505, allocations: 489.8 kB / 0.6298 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002978/0.5079, allocations: 1.738 MB / 0.6315 GB, free: 360 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.508, allocations: 0 / 0.6315 GB, free: 360 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.508, allocations: 0 / 0.6315 GB, free: 360 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.508, allocations: 4 kB / 0.6315 GB, free: 356 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002665/0.5107, allocations: 1.298 MB / 0.6328 GB, free: 15 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5107, allocations: 11.89 kB / 0.6328 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.5118, allocations: 170.9 kB / 0.633 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.5129, allocations: 0.5936 MB / 0.6335 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.513, allocations: 176.8 kB / 0.6337 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.5132, allocations: 75.98 kB / 0.6338 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.5147, allocations: 1.083 MB / 0.6348 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.5148, allocations: 7.938 kB / 0.6348 GB, free: 12.72 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.015e-05/0.5149, allocations: 28 kB / 0.6349 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.86e-05/0.5149, allocations: 37.3 kB / 0.6349 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.5162, allocations: 0.7854 MB / 0.6357 GB, free: 11.87 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005897/0.5221, allocations: 5.698 MB / 0.6412 GB, free: 5.781 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007301/0.5228, allocations: 402.5 kB / 0.6416 GB, free: 5.383 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.5232, allocations: 216.8 kB / 0.6418 GB, free: 5.168 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000246/0.5234, allocations: 267.3 kB / 0.6421 GB, free: 4.852 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.5235, allocations: 42.5 kB / 0.6421 GB, free: 4.801 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 2.755e-06/0.5235, allocations: 0 / 0.6421 GB, free: 4.801 MB / 478.1 MB Notification: Performance of matching and sorting (n=55): time 0.006883/0.5304, allocations: 2.26 MB / 0.6443 GB, free: 2.473 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.5305, allocations: 115.3 kB / 0.6444 GB, free: 2.336 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008315/0.5313, allocations: 0.6797 MB / 0.6451 GB, free: 1.648 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.407e-05/0.5314, allocations: 41.7 kB / 0.6451 GB, free: 1.602 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.5317, allocations: 462 kB / 0.6456 GB, free: 1.145 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.5319, allocations: 201.2 kB / 0.6458 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.5322, allocations: 230.7 kB / 0.646 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5324, allocations: 386.8 kB / 0.6464 GB, free: 336 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.5328, allocations: 282.5 kB / 0.6466 GB, free: 52 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008566/0.5337, allocations: 0.7669 MB / 0.6474 GB, free: 15.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01549/0.5492, allocations: 3.102 MB / 0.6504 GB, free: 11.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.5492, allocations: 7.938 kB / 0.6504 GB, free: 11.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002125/0.5514, allocations: 1.273 MB / 0.6517 GB, free: 10.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.5514, allocations: 20.59 kB / 0.6517 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.5515, allocations: 16 kB / 0.6517 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/0.5533, allocations: 458.3 kB / 0.6521 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.5538, allocations: 183.7 kB / 0.6523 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.5552, allocations: 1.112 MB / 0.6534 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006902/0.5559, allocations: 48.03 kB / 0.6534 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.5561, allocations: 95.98 kB / 0.6535 GB, free: 8.465 MB / 494.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.V2.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 8 (V1.regularFlow[1],V1.regularFlow[2],V2.regularFlow[1],V2.regularFlow[2],V2.inFlow[2],V2.inFlow[1],V1.inFlow[2],V1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004933/0.5566, allocations: 294 kB / 0.6538 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.5568, allocations: 79.06 kB / 0.6539 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.559, allocations: 1.214 MB / 0.6551 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5591, allocations: 8 kB / 0.6551 GB, free: 6.855 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.5591, allocations: 3.938 kB / 0.6551 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.5591, allocations: 3.984 kB / 0.6551 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/0.5621, allocations: 1.978 MB / 0.657 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5621, allocations: 0 / 0.657 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.5624, allocations: 91.89 kB / 0.6571 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.5639, allocations: 288.5 kB / 0.6574 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.742e-05/0.5639, allocations: 27.98 kB / 0.6574 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009378/0.5649, allocations: 0.8394 MB / 0.6582 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.5649, allocations: 0 / 0.6582 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.567, allocations: 1.143 MB / 0.6594 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004462/0.5674, allocations: 216.1 kB / 0.6596 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.5676, allocations: 12 kB / 0.6596 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/0.568, allocations: 23.98 kB / 0.6596 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.517e-05/0.5681, allocations: 40.7 kB / 0.6596 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-05/0.5682, allocations: 67.97 kB / 0.6597 GB, free: 1.906 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005906/0.5688, allocations: 475 kB / 0.6601 GB, free: 1.449 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5688, allocations: 0 / 0.6601 GB, free: 1.449 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001187/0.57, allocations: 347.9 kB / 0.6605 GB, free: 1.109 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009872/0.571, allocations: 402.4 kB / 0.6609 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.5726, allocations: 0.7853 MB / 0.6616 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.5726, allocations: 7.859 kB / 0.6616 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000793/0.5734, allocations: 339.2 kB / 0.662 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.5755, allocations: 424.3 kB / 0.6624 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.5788, allocations: 1.647 MB / 0.664 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006165/0.5794, allocations: 0.9829 MB / 0.6649 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/0.5799, allocations: 151.4 kB / 0.6651 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/0.5799, allocations: 4 kB / 0.6651 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.02703/0.6069, allocations: 18.56 MB / 0.6832 GB, free: 9.887 MB / 0.5137 GB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1)