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.00541/0.00541, allocations: 100.5 kB / 15.73 MB, free: 6 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.001213/0.001213, allocations: 191.4 kB / 16.67 MB, free: 5.926 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.425/1.425, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.3134/0.3134, allocations: 38.01 MB / 307.9 MB, free: 10.38 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.001628/0.001628, allocations: 75.84 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3371, allocations: 56.46 MB / 489.5 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.04232/0.3795, allocations: 36.35 MB / 0.5135 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02057/0.4001, allocations: 16.76 MB / 0.5298 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.4012, allocations: 14.59 kB / 0.5299 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.4026, allocations: 428 kB / 0.5303 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01342/0.4161, allocations: 4.032 MB / 0.5342 GB, free: 8.387 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00929/0.4254, allocations: 3.122 MB / 0.5372 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002667/0.4281, allocations: 1.798 MB / 0.539 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008811/0.429, allocations: 0.5431 MB / 0.5395 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.4304, allocations: 0.7512 MB / 0.5403 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007362/0.4311, allocations: 0.5682 MB / 0.5408 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.4312, allocations: 72 kB / 0.5409 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01665/0.4479, allocations: 7.457 MB / 0.5482 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006865/0.4486, allocations: 247.3 kB / 0.5484 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009451/0.4496, allocations: 426.2 kB / 0.5488 GB, free: 10.83 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01489/0.4645, allocations: 5.048 MB / 0.5537 GB, free: 5.773 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.4645, allocations: 0 / 0.5537 GB, free: 5.773 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4646, allocations: 0 / 0.5537 GB, free: 5.773 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.27e-05/0.4646, allocations: 4 kB / 0.5537 GB, free: 5.77 MB / 430.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.005181/0.4698, allocations: 1.602 MB / 0.5553 GB, free: 4.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4698, allocations: 15.89 kB / 0.5553 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002875/0.4727, allocations: 359.7 kB / 0.5557 GB, free: 3.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009414/0.4737, allocations: 0.5407 MB / 0.5562 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.4738, allocations: 113.2 kB / 0.5563 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.4739, allocations: 80.03 kB / 0.5564 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/0.4765, allocations: 1.118 MB / 0.5575 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.4766, allocations: 3.938 kB / 0.5575 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.551e-05/0.4766, allocations: 32 kB / 0.5575 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.965e-05/0.4767, allocations: 33.3 kB / 0.5575 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002648/0.4794, allocations: 1.051 MB / 0.5586 GB, free: 0.6758 MB / 430.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.007109/0.4865, allocations: 5.008 MB / 0.5635 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/0.4893, allocations: 0.9216 MB / 0.5644 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007651/0.4901, allocations: 377.9 kB / 0.5647 GB, free: 9.988 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05263/0.5428, allocations: 24.31 MB / 0.5885 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/0.5429, allocations: 39 kB / 0.5885 GB, free: 14.74 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 2.685e-06/0.5429, allocations: 0 / 0.5885 GB, free: 14.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=47): time 0.007103/0.55, allocations: 1.973 MB / 0.5904 GB, free: 12.71 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.5501, allocations: 111.2 kB / 0.5905 GB, free: 12.58 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007529/0.5508, allocations: 0.5964 MB / 0.5911 GB, free: 11.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.216e-05/0.5509, allocations: 33.69 kB / 0.5911 GB, free: 11.94 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.5512, allocations: 323.6 kB / 0.5915 GB, free: 11.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.5513, allocations: 153.8 kB / 0.5916 GB, free: 11.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.5515, allocations: 138.2 kB / 0.5917 GB, free: 11.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.5517, allocations: 370.8 kB / 0.5921 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007379/0.5525, allocations: 321.1 kB / 0.5924 GB, free: 10.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008915/0.5534, allocations: 493.6 kB / 0.5929 GB, free: 10.09 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.5548, allocations: 0.7357 MB / 0.5936 GB, free: 9.289 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.5548, allocations: 0 / 0.5936 GB, free: 9.289 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002279/0.5571, allocations: 1.047 MB / 0.5946 GB, free: 8.227 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.5572, allocations: 15.92 kB / 0.5946 GB, free: 8.211 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.5572, allocations: 4 kB / 0.5946 GB, free: 8.207 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.5584, allocations: 417.5 kB / 0.595 GB, free: 7.793 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.5589, allocations: 123.8 kB / 0.5951 GB, free: 7.672 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.5611, allocations: 1.631 MB / 0.5967 GB, free: 5.988 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00064/0.5617, allocations: 91.19 kB / 0.5968 GB, free: 5.898 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.92e-05/0.5618, allocations: 27.98 kB / 0.5968 GB, free: 5.871 MB / 478.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.0004367/0.5622, allocations: 229.7 kB / 0.5971 GB, free: 5.637 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.5624, allocations: 63.25 kB / 0.5971 GB, free: 5.574 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004762/0.5671, allocations: 3.252 MB / 0.6003 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.48e-05/0.5672, allocations: 40.08 kB / 0.6003 GB, free: 2.27 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.5672, allocations: 7.984 kB / 0.6004 GB, free: 2.262 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.5672, allocations: 3.984 kB / 0.6004 GB, free: 2.258 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.5692, allocations: 1.561 MB / 0.6019 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.5692, allocations: 4 kB / 0.6019 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/0.5696, allocations: 87.88 kB / 0.602 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.571, allocations: 0.8737 MB / 0.6028 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.377e-05/0.571, allocations: 12 kB / 0.6028 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002449/0.5735, allocations: 2.284 MB / 0.6051 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5735, allocations: 3.938 kB / 0.6051 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003325/0.5768, allocations: 2.273 MB / 0.6073 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/0.5773, allocations: 299 kB / 0.6076 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.5774, allocations: 27.69 kB / 0.6076 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/0.5779, allocations: 43.95 kB / 0.6076 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.5781, allocations: 60.47 kB / 0.6077 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.5782, allocations: 27.98 kB / 0.6077 GB, free: 10.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006556/0.5788, allocations: 0.5107 MB / 0.6082 GB, free: 10.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5788, allocations: 0 / 0.6082 GB, free: 10.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004199/0.583, allocations: 1.163 MB / 0.6094 GB, free: 8.883 MB / 494.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.005634/0.5887, allocations: 1.299 MB / 0.6106 GB, free: 7.574 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003394/0.5921, allocations: 1.13 MB / 0.6117 GB, free: 6.449 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.5922, allocations: 0 / 0.6117 GB, free: 6.449 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001663/0.5938, allocations: 0.8694 MB / 0.6126 GB, free: 5.582 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.5958, allocations: 388.3 kB / 0.6129 GB, free: 5.199 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.6, allocations: 2.446 MB / 0.6153 GB, free: 2.723 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007651/0.6008, allocations: 1.157 MB / 0.6165 GB, free: 1.531 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007008/0.6015, allocations: 361.1 kB / 0.6168 GB, free: 1.176 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.6017, allocations: 55.44 kB / 0.6169 GB, free: 1.121 MB / 494.1 MB Notification: Performance of SimCode: time 1.372e-06/0.6017, allocations: 0 / 0.6169 GB, free: 1.121 MB / 494.1 MB Notification: Performance of Templates: time 0.3325/0.9342, allocations: 50.55 MB / 0.6662 GB, free: 123.1 MB / 0.4981 GB 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)