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.000983/0.000983, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0009459/0.000946, allocations: 177.3 kB / 15.94 MB, free: 228 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.287/1.287, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.2749/0.2749, allocations: 39.99 MB / 310.4 MB, free: 10.01 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.0005567/0.0005568, allocations: 16 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1017, allocations: 57.96 MB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.2074/0.3091, allocations: 30.77 MB / 467.5 MB, free: 34.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.322, allocations: 14.34 MB / 481.9 MB, free: 27.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006598/0.3227, allocations: 21.03 kB / 481.9 MB, free: 27.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008991/0.3236, allocations: 368.9 kB / 482.3 MB, free: 27.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00831/0.3319, allocations: 3.11 MB / 485.4 MB, free: 25.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006305/0.3382, allocations: 2.548 MB / 487.9 MB, free: 24.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001433/0.3397, allocations: 1.06 MB / 489 MB, free: 23.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006015/0.3403, allocations: 460.2 kB / 489.4 MB, free: 23.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.3413, allocations: 0.6405 MB / 490.1 MB, free: 23.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005503/0.3419, allocations: 409.8 kB / 490.5 MB, free: 23.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.342, allocations: 36.84 kB / 490.5 MB, free: 23.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01218/0.3542, allocations: 7.211 MB / 497.7 MB, free: 21.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003198/0.3546, allocations: 199.6 kB / 497.9 MB, free: 21.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.3549, allocations: 169.2 kB / 498.1 MB, free: 21.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006533/0.3614, allocations: 3.404 MB / 0.4897 GB, free: 20.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3614, allocations: 5.219 kB / 0.4897 GB, free: 20.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3615, allocations: 0.7031 kB / 0.4897 GB, free: 20.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.301e-05/0.3615, allocations: 0 / 0.4897 GB, free: 20.68 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.005779/0.3673, allocations: 1.475 MB / 0.4912 GB, free: 19.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3673, allocations: 9.25 kB / 0.4912 GB, free: 19.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/0.3705, allocations: 386.5 kB / 0.4915 GB, free: 19.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.3717, allocations: 0.5096 MB / 0.492 GB, free: 19.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.3718, allocations: 108.2 kB / 0.4921 GB, free: 19.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.372, allocations: 56.91 kB / 0.4922 GB, free: 19.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/0.3749, allocations: 1.157 MB / 0.4933 GB, free: 18.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.3749, allocations: 1.312 kB / 0.4933 GB, free: 18.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.953e-05/0.375, allocations: 23.41 kB / 0.4934 GB, free: 18.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.671e-05/0.3751, allocations: 35.11 kB / 0.4934 GB, free: 18.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002778/0.3778, allocations: 1.083 MB / 0.4944 GB, free: 18.48 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.006336/0.3842, allocations: 5.061 MB / 0.4994 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.3869, allocations: 0.958 MB / 0.5003 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04629/0.4332, allocations: 24.43 MB / 0.5242 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.4333, allocations: 41.22 kB / 0.5242 GB, free: 10.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=47): time 2.835e-06/0.4333, allocations: 4 kB / 0.5242 GB, free: 10.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.007009/0.4403, allocations: 2.07 MB / 0.5262 GB, free: 9.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.4404, allocations: 111.2 kB / 0.5263 GB, free: 9.254 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008063/0.4412, allocations: 0.5847 MB / 0.5269 GB, free: 8.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.926e-05/0.4413, allocations: 41.69 kB / 0.527 GB, free: 8.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.4415, allocations: 319.6 kB / 0.5273 GB, free: 8.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.4417, allocations: 153.8 kB / 0.5274 GB, free: 8.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.4418, allocations: 12 kB / 0.5274 GB, free: 8.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4419, allocations: 374.7 kB / 0.5278 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006839/0.4426, allocations: 333.1 kB / 0.5281 GB, free: 7.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000779/0.4434, allocations: 0.4943 MB / 0.5286 GB, free: 6.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007098/0.4441, allocations: 348.6 kB / 0.5289 GB, free: 6.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4441, allocations: 4 kB / 0.5289 GB, free: 6.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002144/0.4463, allocations: 1.086 MB / 0.53 GB, free: 5.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4463, allocations: 10.5 kB / 0.53 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.4463, allocations: 4 kB / 0.53 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.4474, allocations: 433.8 kB / 0.5304 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.4479, allocations: 119.8 kB / 0.5305 GB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.4496, allocations: 1.647 MB / 0.5321 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007725/0.4504, allocations: 115.2 kB / 0.5322 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.485e-05/0.4505, allocations: 31.94 kB / 0.5323 GB, free: 3.02 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.0003798/0.4508, allocations: 237.6 kB / 0.5325 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.451, allocations: 67.25 kB / 0.5326 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004234/0.4552, allocations: 3.296 MB / 0.5358 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.645e-05/0.4553, allocations: 43.92 kB / 0.5358 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4553, allocations: 4 kB / 0.5358 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.4553, allocations: 3.984 kB / 0.5358 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.4569, allocations: 1.562 MB / 0.5374 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.457, allocations: 3.984 kB / 0.5374 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.4573, allocations: 90.31 kB / 0.5374 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/0.4588, allocations: 0.9012 MB / 0.5383 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.4588, allocations: 15.94 kB / 0.5383 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/0.4611, allocations: 2.303 MB / 0.5406 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.4611, allocations: 0 / 0.5406 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003013/0.4641, allocations: 2.312 MB / 0.5428 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005253/0.4646, allocations: 358.6 kB / 0.5432 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.4648, allocations: 8 kB / 0.5432 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006172/0.4654, allocations: 67.94 kB / 0.5433 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.4656, allocations: 64.45 kB / 0.5433 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/0.4657, allocations: 23.98 kB / 0.5433 GB, free: 7.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005948/0.4663, allocations: 0.5068 MB / 0.5438 GB, free: 6.996 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4663, allocations: 4 kB / 0.5438 GB, free: 6.992 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005206/0.4715, allocations: 1.159 MB / 0.545 GB, free: 5.832 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.008282/0.4798, allocations: 1.301 MB / 0.5462 GB, free: 4.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002677/0.4825, allocations: 1.154 MB / 0.5474 GB, free: 3.371 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4825, allocations: 3.938 kB / 0.5474 GB, free: 3.367 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.484, allocations: 0.881 MB / 0.5482 GB, free: 2.488 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.4859, allocations: 354.4 kB / 0.5486 GB, free: 2.148 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.4897, allocations: 2.997 MB / 0.5515 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007059/0.4905, allocations: 1.177 MB / 0.5526 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007527/0.4912, allocations: 354.1 kB / 0.553 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.4914, allocations: 51.44 kB / 0.553 GB, free: 13.52 MB / 430.1 MB Notification: Performance of SimCode: time 6.42e-07/0.4914, allocations: 0 / 0.553 GB, free: 13.52 MB / 430.1 MB Notification: Performance of Templates: time 0.06598/0.5574, allocations: 49.22 MB / 0.6011 GB, free: 12.29 MB / 478.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: