Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000793/0.0007931, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005129/0.005129, allocations: 172.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3793/0.3793, allocations: 40 MB / 310.7 MB, free: 9.934 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005813/0.0005813, allocations: 16 kB / 379.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1395, allocations: 57.96 MB / 437.4 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.2921/0.4317, allocations: 36.6 MB / 474 MB, free: 31.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01863/0.4503, allocations: 17.56 MB / 491.6 MB, free: 21.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.4516, allocations: 20.88 kB / 491.6 MB, free: 21.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.4533, allocations: 381.8 kB / 492 MB, free: 20.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01534/0.4686, allocations: 3.251 MB / 495.2 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01037/0.479, allocations: 2.66 MB / 497.9 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00307/0.4821, allocations: 2.422 MB / 0.4886 GB, free: 17.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.4833, allocations: 482.5 kB / 0.489 GB, free: 17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.4851, allocations: 0.6616 MB / 0.4897 GB, free: 16.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.4864, allocations: 0.572 MB / 0.4902 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002606/0.4867, allocations: 36.06 kB / 0.4903 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01989/0.5066, allocations: 7.331 MB / 0.4974 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006386/0.5072, allocations: 216.4 kB / 0.4976 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.5085, allocations: 411 kB / 0.498 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02076/0.5292, allocations: 4.989 MB / 0.5029 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.5293, allocations: 0 / 0.5029 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.5293, allocations: 1.375 kB / 0.5029 GB, free: 12.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.223e-05/0.5294, allocations: 4 kB / 0.5029 GB, free: 12.75 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.009347/0.5388, allocations: 1.457 MB / 0.5043 GB, free: 11.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/0.5388, allocations: 8.875 kB / 0.5043 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003581/0.5424, allocations: 384.4 kB / 0.5047 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.5438, allocations: 0.5224 MB / 0.5052 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.544, allocations: 110.9 kB / 0.5053 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.5442, allocations: 64.39 kB / 0.5054 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/0.5478, allocations: 1.158 MB / 0.5065 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.5478, allocations: 1.5 kB / 0.5065 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.5479, allocations: 27.47 kB / 0.5065 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-05/0.548, allocations: 31.95 kB / 0.5066 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003166/0.5512, allocations: 1.103 MB / 0.5076 GB, free: 9.75 MB / 382.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.007492/0.5587, allocations: 5.054 MB / 0.5126 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00304/0.5618, allocations: 0.9641 MB / 0.5135 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008043/0.5626, allocations: 393.6 kB / 0.5139 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0534/0.616, allocations: 24.44 MB / 0.5378 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/0.6161, allocations: 36.5 kB / 0.5378 GB, free: 14.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.705e-06/0.6161, allocations: 4 kB / 0.5378 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.006975/0.6231, allocations: 2.083 MB / 0.5398 GB, free: 12.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.6232, allocations: 107.2 kB / 0.5399 GB, free: 12.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008807/0.6241, allocations: 0.5926 MB / 0.5405 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/0.6242, allocations: 37.7 kB / 0.5406 GB, free: 11.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.6245, allocations: 323.6 kB / 0.5409 GB, free: 11.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.6246, allocations: 161.7 kB / 0.541 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.6247, allocations: 57.69 kB / 0.5411 GB, free: 10.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.6249, allocations: 370.8 kB / 0.5414 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007023/0.6256, allocations: 341 kB / 0.5417 GB, free: 10.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008309/0.6264, allocations: 0.4938 MB / 0.5422 GB, free: 9.719 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.6279, allocations: 0.7631 MB / 0.543 GB, free: 8.895 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.6279, allocations: 4 kB / 0.543 GB, free: 8.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002275/0.6302, allocations: 1.082 MB / 0.544 GB, free: 7.793 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.6302, allocations: 11.94 kB / 0.544 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.6302, allocations: 4 kB / 0.5441 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.6315, allocations: 437.5 kB / 0.5445 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/0.6319, allocations: 119.8 kB / 0.5446 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/0.6338, allocations: 1.64 MB / 0.5462 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008164/0.6346, allocations: 115.3 kB / 0.5463 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/0.6347, allocations: 27.98 kB / 0.5463 GB, free: 5.395 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.regularFlow[1],Volume.regularFlow[2],Sink.medium.phase,FlowSource.medium.phase,Volume.inFlow[2],Volume.inFlow[1],Volume.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004795/0.6351, allocations: 225.6 kB / 0.5465 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.6353, allocations: 63.39 kB / 0.5466 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004658/0.64, allocations: 3.335 MB / 0.5499 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.417e-05/0.6401, allocations: 43.92 kB / 0.5499 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6401, allocations: 0 / 0.5499 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.6401, allocations: 3.984 kB / 0.5499 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.6419, allocations: 1.565 MB / 0.5514 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.6419, allocations: 0 / 0.5514 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.6423, allocations: 99.86 kB / 0.5515 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/0.6438, allocations: 0.8933 MB / 0.5524 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.6439, allocations: 12 kB / 0.5524 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002532/0.6464, allocations: 2.307 MB / 0.5547 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6465, allocations: 7.969 kB / 0.5547 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003345/0.6498, allocations: 2.312 MB / 0.5569 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005395/0.6504, allocations: 358.6 kB / 0.5573 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.6505, allocations: 15.94 kB / 0.5573 GB, free: 9.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/0.651, allocations: 67.86 kB / 0.5573 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.6512, allocations: 64.45 kB / 0.5574 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.178e-05/0.6513, allocations: 23.98 kB / 0.5574 GB, free: 9.836 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000656/0.6519, allocations: 0.5146 MB / 0.5579 GB, free: 9.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6519, allocations: 0 / 0.5579 GB, free: 9.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006214/0.6582, allocations: 1.159 MB / 0.5591 GB, free: 8.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006452/0.6646, allocations: 1.315 MB / 0.5604 GB, free: 6.848 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002535/0.6672, allocations: 1.15 MB / 0.5615 GB, free: 5.699 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6672, allocations: 8.062 kB / 0.5615 GB, free: 5.691 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.6686, allocations: 0.8809 MB / 0.5623 GB, free: 4.812 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.6706, allocations: 360.9 kB / 0.5627 GB, free: 4.461 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/0.6745, allocations: 3.037 MB / 0.5657 GB, free: 1.391 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006694/0.6752, allocations: 1.161 MB / 0.5668 GB, free: 204 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006899/0.6759, allocations: 349.2 kB / 0.5671 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.676, allocations: 55.38 kB / 0.5672 GB, free: 15.8 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.676, allocations: 4 kB / 0.5672 GB, free: 15.8 MB / 446.1 MB Notification: Performance of Templates: time 0.07167/0.7477, allocations: 49.14 MB / 0.6152 GB, free: 14.64 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) Environment - environmentSimulation: