Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001018/0.001018, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00119/0.00119, allocations: 196.3 kB / 16.14 MB, free: 6.703 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.446/1.446, allocations: 205.1 MB / 222 MB, free: 5.004 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3474/0.3474, allocations: 37.98 MB / 307.3 MB, free: 9.789 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.1. 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.001272/0.001272, allocations: 67.91 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1269, allocations: 56.47 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.2694/0.3964, allocations: 37.41 MB / 468.4 MB, free: 34.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01966/0.4161, allocations: 17.84 MB / 486.3 MB, free: 23.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.4175, allocations: 17.41 kB / 486.3 MB, free: 23.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.4189, allocations: 376 kB / 486.7 MB, free: 23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01129/0.4302, allocations: 3.261 MB / 489.9 MB, free: 21.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007699/0.438, allocations: 2.665 MB / 492.6 MB, free: 20.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002602/0.4406, allocations: 2.427 MB / 495 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006426/0.4412, allocations: 478.2 kB / 495.5 MB, free: 19.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.4423, allocations: 0.6716 MB / 496.2 MB, free: 18.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006155/0.443, allocations: 0.5856 MB / 496.7 MB, free: 18.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.4431, allocations: 40.56 kB / 496.8 MB, free: 18.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0171/0.4602, allocations: 7.331 MB / 0.4923 GB, free: 16.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007438/0.461, allocations: 218.4 kB / 0.4925 GB, free: 16.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.462, allocations: 396.6 kB / 0.4929 GB, free: 16.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01723/0.4793, allocations: 5.023 MB / 0.4978 GB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4793, allocations: 0 / 0.4978 GB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4793, allocations: 1.438 kB / 0.4978 GB, free: 15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.4793, allocations: 0 / 0.4978 GB, free: 15 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.007908/0.4873, allocations: 1.614 MB / 0.4994 GB, free: 14.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.4873, allocations: 8.25 kB / 0.4994 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002926/0.4903, allocations: 369.1 kB / 0.4997 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008778/0.4911, allocations: 0.5215 MB / 0.5002 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.4913, allocations: 112.4 kB / 0.5003 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.4914, allocations: 53.34 kB / 0.5004 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002723/0.4941, allocations: 1.136 MB / 0.5015 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.4942, allocations: 5 kB / 0.5015 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.349e-05/0.4942, allocations: 28.09 kB / 0.5015 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.472e-05/0.4943, allocations: 28.7 kB / 0.5016 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002702/0.497, allocations: 1.061 MB / 0.5026 GB, free: 12.7 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.006834/0.5039, allocations: 5.01 MB / 0.5075 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002657/0.5065, allocations: 0.9119 MB / 0.5084 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000783/0.5073, allocations: 379.1 kB / 0.5087 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04854/0.5559, allocations: 24.22 MB / 0.5324 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.746e-05/0.556, allocations: 42.98 kB / 0.5324 GB, free: 2.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=47): time 3.166e-06/0.556, allocations: 0 / 0.5324 GB, free: 2.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.006874/0.5629, allocations: 1.977 MB / 0.5344 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.563, allocations: 111.2 kB / 0.5345 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007316/0.5637, allocations: 0.5926 MB / 0.535 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.5638, allocations: 33.7 kB / 0.5351 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.564, allocations: 319.6 kB / 0.5354 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.5642, allocations: 165.7 kB / 0.5355 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.5644, allocations: 130.2 kB / 0.5357 GB, free: 15.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.5646, allocations: 366.8 kB / 0.536 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006842/0.5653, allocations: 333.1 kB / 0.5363 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007738/0.5661, allocations: 485.6 kB / 0.5368 GB, free: 14.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.5675, allocations: 0.7357 MB / 0.5375 GB, free: 13.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.5675, allocations: 0 / 0.5375 GB, free: 13.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002277/0.5698, allocations: 1.051 MB / 0.5385 GB, free: 12.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.5698, allocations: 8 kB / 0.5385 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.5698, allocations: 7.938 kB / 0.5386 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.571, allocations: 428.9 kB / 0.539 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.5714, allocations: 119.8 kB / 0.5391 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.5732, allocations: 1.624 MB / 0.5407 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007936/0.574, allocations: 107.2 kB / 0.5408 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/0.5741, allocations: 31.98 kB / 0.5408 GB, free: 9.844 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.0003942/0.5745, allocations: 233.6 kB / 0.541 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.5746, allocations: 67.25 kB / 0.5411 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/0.5787, allocations: 3.257 MB / 0.5443 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.769e-05/0.5787, allocations: 43.92 kB / 0.5443 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.5787, allocations: 0 / 0.5443 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.5787, allocations: 3.984 kB / 0.5443 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.5804, allocations: 1.565 MB / 0.5458 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.5805, allocations: 0 / 0.5458 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.5808, allocations: 87.86 kB / 0.5459 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/0.5822, allocations: 0.8739 MB / 0.5468 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/0.5823, allocations: 16.81 kB / 0.5468 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.5847, allocations: 2.299 MB / 0.549 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5847, allocations: 3.938 kB / 0.549 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003244/0.588, allocations: 2.269 MB / 0.5513 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005519/0.5886, allocations: 287.1 kB / 0.5515 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.5887, allocations: 39.56 kB / 0.5516 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005736/0.5893, allocations: 67.84 kB / 0.5516 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.5895, allocations: 60.47 kB / 0.5517 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.5895, allocations: 19.98 kB / 0.5517 GB, free: 14.49 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006339/0.5902, allocations: 0.5185 MB / 0.5522 GB, free: 13.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.5902, allocations: 0 / 0.5522 GB, free: 13.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005992/0.5962, allocations: 1.167 MB / 0.5534 GB, free: 12.8 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.009572/0.6058, allocations: 1.308 MB / 0.5546 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002895/0.6087, allocations: 1.126 MB / 0.5557 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.986e-06/0.6087, allocations: 4.25 kB / 0.5557 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00174/0.6105, allocations: 0.8653 MB / 0.5566 GB, free: 9.496 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/0.6126, allocations: 363.2 kB / 0.5569 GB, free: 9.145 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/0.6164, allocations: 2.984 MB / 0.5598 GB, free: 6.141 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007051/0.6171, allocations: 1.157 MB / 0.561 GB, free: 4.957 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008419/0.618, allocations: 351.7 kB / 0.5613 GB, free: 4.613 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.6181, allocations: 55.42 kB / 0.5614 GB, free: 4.559 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6181, allocations: 0 / 0.5614 GB, free: 4.559 MB / 430.1 MB Notification: Performance of Templates: time 0.06887/0.687, allocations: 49.32 MB / 0.6095 GB, free: 3.215 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1)