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.000819/0.000819, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.0009226/0.0009227, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.3079/0.3079, allocations: 38.03 MB / 308.4 MB, free: 10.47 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.0005773/0.0005777, allocations: 15.98 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1217, allocations: 57.52 MB / 434 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.2793/0.4011, allocations: 33.97 MB / 467.9 MB, free: 34.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0164/0.4175, allocations: 15.69 MB / 483.6 MB, free: 27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.4187, allocations: 21.59 kB / 483.6 MB, free: 26.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.42, allocations: 350.2 kB / 484 MB, free: 26.8 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0117/0.4318, allocations: 3.194 MB / 487.2 MB, free: 25.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009131/0.4409, allocations: 2.459 MB / 489.6 MB, free: 24.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003412/0.4443, allocations: 2.039 MB / 491.7 MB, free: 23.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007847/0.4451, allocations: 450.3 kB / 492.1 MB, free: 23.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.4465, allocations: 0.6499 MB / 492.8 MB, free: 22.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006802/0.4472, allocations: 0.557 MB / 493.3 MB, free: 22.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.087e-05/0.4473, allocations: 35.41 kB / 493.4 MB, free: 22.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01557/0.4629, allocations: 7.005 MB / 0.4886 GB, free: 21.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005674/0.4635, allocations: 209.2 kB / 0.4888 GB, free: 21.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004352/0.4639, allocations: 164 kB / 0.489 GB, free: 20.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009863/0.4738, allocations: 3.422 MB / 0.4923 GB, free: 20.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4738, allocations: 0 / 0.4923 GB, free: 20.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4739, allocations: 0 / 0.4923 GB, free: 20.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.4739, allocations: 5.469 kB / 0.4923 GB, free: 20.25 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.006843/0.4807, allocations: 1.474 MB / 0.4938 GB, free: 19.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.4808, allocations: 8.438 kB / 0.4938 GB, free: 19.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003114/0.4839, allocations: 375.4 kB / 0.4941 GB, free: 19.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.4849, allocations: 0.5165 MB / 0.4947 GB, free: 18.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.4851, allocations: 112.8 kB / 0.4948 GB, free: 18.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.968e-05/0.4852, allocations: 56 kB / 0.4948 GB, free: 18.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/0.4879, allocations: 1.153 MB / 0.4959 GB, free: 18.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.4879, allocations: 5 kB / 0.4959 GB, free: 18.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.659e-05/0.488, allocations: 23.81 kB / 0.496 GB, free: 18.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-05/0.488, allocations: 34.77 kB / 0.496 GB, free: 18.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/0.4906, allocations: 1.09 MB / 0.4971 GB, free: 18.04 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.006217/0.4968, allocations: 5.047 MB / 0.502 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/0.4994, allocations: 0.9729 MB / 0.5029 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006958/0.5001, allocations: 395.9 kB / 0.5033 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04438/0.5445, allocations: 24.42 MB / 0.5272 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.5446, allocations: 46.45 kB / 0.5272 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=47): time 2.956e-06/0.5446, allocations: 0 / 0.5272 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.006437/0.5511, allocations: 2.071 MB / 0.5292 GB, free: 8.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.5512, allocations: 111.2 kB / 0.5293 GB, free: 8.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007807/0.5519, allocations: 0.5887 MB / 0.5299 GB, free: 7.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.016e-05/0.552, allocations: 33.7 kB / 0.5299 GB, free: 7.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.5523, allocations: 315.6 kB / 0.5303 GB, free: 7.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.5524, allocations: 161.7 kB / 0.5304 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.5525, allocations: 12 kB / 0.5304 GB, free: 7.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5526, allocations: 374.7 kB / 0.5308 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006647/0.5533, allocations: 337.1 kB / 0.5311 GB, free: 6.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007685/0.5541, allocations: 0.4904 MB / 0.5316 GB, free: 5.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006716/0.5548, allocations: 360.6 kB / 0.5319 GB, free: 5.605 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.5548, allocations: 0 / 0.5319 GB, free: 5.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002054/0.5568, allocations: 1.086 MB / 0.533 GB, free: 4.504 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.5569, allocations: 8 kB / 0.533 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.5569, allocations: 4 kB / 0.533 GB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.558, allocations: 429.4 kB / 0.5334 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.5584, allocations: 123.8 kB / 0.5335 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.5602, allocations: 1.635 MB / 0.5351 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007409/0.5609, allocations: 115.2 kB / 0.5352 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/0.561, allocations: 35.98 kB / 0.5353 GB, free: 2.109 MB / 398.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.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003981/0.5614, allocations: 226.7 kB / 0.5355 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.5615, allocations: 67.2 kB / 0.5355 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004268/0.5658, allocations: 3.318 MB / 0.5388 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.236e-05/0.5659, allocations: 44.06 kB / 0.5388 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.5659, allocations: 0 / 0.5388 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.5659, allocations: 3.984 kB / 0.5388 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.5678, allocations: 1.573 MB / 0.5404 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5678, allocations: 0 / 0.5404 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.5681, allocations: 91.88 kB / 0.5404 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001448/0.5696, allocations: 0.8855 MB / 0.5413 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/0.5696, allocations: 27.86 kB / 0.5413 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002597/0.5722, allocations: 2.303 MB / 0.5436 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.5723, allocations: 0 / 0.5436 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003222/0.5755, allocations: 2.308 MB / 0.5458 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005911/0.5761, allocations: 354.6 kB / 0.5462 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.5763, allocations: 12 kB / 0.5462 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/0.577, allocations: 71.84 kB / 0.5463 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.5772, allocations: 68.45 kB / 0.5463 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.165e-05/0.5772, allocations: 23.98 kB / 0.5464 GB, free: 6.578 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008753/0.5781, allocations: 0.5068 MB / 0.5468 GB, free: 6.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5781, allocations: 0 / 0.5468 GB, free: 6.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006914/0.585, allocations: 1.156 MB / 0.548 GB, free: 4.914 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01259/0.5976, allocations: 1.298 MB / 0.5492 GB, free: 3.617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002691/0.6004, allocations: 1.154 MB / 0.5504 GB, free: 2.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.6004, allocations: 3.938 kB / 0.5504 GB, free: 2.457 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.6019, allocations: 0.8849 MB / 0.5512 GB, free: 1.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.6038, allocations: 370.1 kB / 0.5516 GB, free: 1.215 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.6077, allocations: 2.998 MB / 0.5545 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007011/0.6085, allocations: 1.15 MB / 0.5556 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007551/0.6092, allocations: 354 kB / 0.556 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.6094, allocations: 63.42 kB / 0.556 GB, free: 12.6 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6094, allocations: 0 / 0.556 GB, free: 12.6 MB / 430.1 MB Notification: Performance of Templates: time 0.0692/0.6786, allocations: 49.23 MB / 0.6041 GB, free: 11.36 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: