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.005869/0.005869, allocations: 104.8 kB / 15.73 MB, free: 6.035 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.001243/0.001244, allocations: 199.2 kB / 16.67 MB, free: 5.969 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.491/1.491, allocations: 205.1 MB / 222.6 MB, free: 4.367 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.327/0.327, allocations: 37.99 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.002143/0.002143, allocations: 68.28 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2763, allocations: 56.46 MB / 489.5 MB, free: 20.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.03305/0.3094, allocations: 36.34 MB / 0.5135 GB, free: 9.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02013/0.3296, allocations: 16.76 MB / 0.5298 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006936/0.3303, allocations: 22.41 kB / 0.5299 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.3316, allocations: 420.5 kB / 0.5303 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01175/0.3433, allocations: 4.036 MB / 0.5342 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008627/0.352, allocations: 3.125 MB / 0.5373 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002705/0.3547, allocations: 1.807 MB / 0.539 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008408/0.3556, allocations: 0.5392 MB / 0.5396 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.3572, allocations: 0.7668 MB / 0.5403 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007671/0.358, allocations: 0.576 MB / 0.5409 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.3581, allocations: 76 kB / 0.5409 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01686/0.375, allocations: 7.449 MB / 0.5482 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004519/0.3755, allocations: 259.2 kB / 0.5485 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006198/0.3761, allocations: 418.2 kB / 0.5489 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.3872, allocations: 5.04 MB / 0.5538 GB, free: 5.758 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3872, allocations: 0 / 0.5538 GB, free: 5.758 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.3872, allocations: 0 / 0.5538 GB, free: 5.758 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.3873, allocations: 0 / 0.5538 GB, free: 5.758 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.003904/0.3912, allocations: 1.606 MB / 0.5553 GB, free: 4.102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3912, allocations: 11.89 kB / 0.5554 GB, free: 4.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/0.3941, allocations: 367.7 kB / 0.5557 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008433/0.3949, allocations: 0.5407 MB / 0.5562 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.3951, allocations: 109.3 kB / 0.5563 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.3952, allocations: 60.12 kB / 0.5564 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/0.3977, allocations: 1.134 MB / 0.5575 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.3978, allocations: 0 / 0.5575 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.877e-05/0.3978, allocations: 31.98 kB / 0.5575 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.346e-05/0.3979, allocations: 37.17 kB / 0.5576 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.4006, allocations: 1.055 MB / 0.5586 GB, free: 0.6602 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.006444/0.407, allocations: 5.004 MB / 0.5635 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/0.4096, allocations: 0.9176 MB / 0.5644 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007539/0.4104, allocations: 377.9 kB / 0.5647 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04528/0.4557, allocations: 24.31 MB / 0.5885 GB, free: 14.78 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.4558, allocations: 46.94 kB / 0.5885 GB, free: 14.72 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 2.284e-06/0.4558, allocations: 0 / 0.5885 GB, free: 14.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=47): time 0.006782/0.4626, allocations: 1.973 MB / 0.5905 GB, free: 12.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.4627, allocations: 107.2 kB / 0.5906 GB, free: 12.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007403/0.4634, allocations: 0.5964 MB / 0.5911 GB, free: 11.97 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.4635, allocations: 33.7 kB / 0.5912 GB, free: 11.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.4637, allocations: 331.5 kB / 0.5915 GB, free: 11.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.4639, allocations: 157.8 kB / 0.5916 GB, free: 11.44 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.4641, allocations: 130.2 kB / 0.5918 GB, free: 11.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4642, allocations: 370.8 kB / 0.5921 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000692/0.4649, allocations: 325.1 kB / 0.5924 GB, free: 10.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008014/0.4657, allocations: 485.6 kB / 0.5929 GB, free: 10.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.4672, allocations: 0.7357 MB / 0.5936 GB, free: 9.277 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.4672, allocations: 4 kB / 0.5936 GB, free: 9.273 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002182/0.4694, allocations: 1.047 MB / 0.5946 GB, free: 8.211 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.4694, allocations: 7.938 kB / 0.5946 GB, free: 8.203 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.4694, allocations: 11.98 kB / 0.5947 GB, free: 8.191 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.4706, allocations: 413.8 kB / 0.5951 GB, free: 7.781 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.4711, allocations: 123.8 kB / 0.5952 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/0.4728, allocations: 1.631 MB / 0.5968 GB, free: 5.977 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005943/0.4735, allocations: 91.25 kB / 0.5969 GB, free: 5.887 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-05/0.4735, allocations: 39.97 kB / 0.5969 GB, free: 5.848 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.0003266/0.4739, allocations: 221.7 kB / 0.5971 GB, free: 5.621 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.474, allocations: 67.25 kB / 0.5972 GB, free: 5.555 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004102/0.4781, allocations: 3.248 MB / 0.6003 GB, free: 2.293 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-05/0.4782, allocations: 39.94 kB / 0.6004 GB, free: 2.254 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4782, allocations: 3.984 kB / 0.6004 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4782, allocations: 4 kB / 0.6004 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.4799, allocations: 1.565 MB / 0.6019 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.4799, allocations: 0 / 0.6019 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.4803, allocations: 79.88 kB / 0.602 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001544/0.4818, allocations: 0.8777 MB / 0.6028 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.4819, allocations: 16 kB / 0.6029 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/0.4845, allocations: 2.287 MB / 0.6051 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4845, allocations: 3.938 kB / 0.6051 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003165/0.4877, allocations: 2.273 MB / 0.6073 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003978/0.4881, allocations: 295 kB / 0.6076 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.4882, allocations: 31.69 kB / 0.6076 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/0.4887, allocations: 39.95 kB / 0.6077 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.4889, allocations: 68.47 kB / 0.6077 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.4889, allocations: 23.98 kB / 0.6078 GB, free: 10.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006231/0.4895, allocations: 0.5146 MB / 0.6083 GB, free: 10.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4896, allocations: 0 / 0.6083 GB, free: 10.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003124/0.4927, allocations: 1.159 MB / 0.6094 GB, free: 8.867 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.004171/0.4969, allocations: 1.304 MB / 0.6107 GB, free: 7.559 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00235/0.4992, allocations: 1.134 MB / 0.6118 GB, free: 6.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.4993, allocations: 0 / 0.6118 GB, free: 6.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.5006, allocations: 0.8733 MB / 0.6126 GB, free: 5.559 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.5023, allocations: 372.6 kB / 0.613 GB, free: 5.191 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.5057, allocations: 2.446 MB / 0.6154 GB, free: 2.715 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006611/0.5063, allocations: 1.161 MB / 0.6165 GB, free: 1.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006463/0.507, allocations: 353.1 kB / 0.6168 GB, free: 1.172 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.5071, allocations: 63.44 kB / 0.6169 GB, free: 1.109 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5071, allocations: 0 / 0.6169 GB, free: 1.109 MB / 494.1 MB Notification: Performance of Templates: time 0.2785/0.7856, allocations: 50.53 MB / 0.6663 GB, free: 123.2 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)