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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.005239/0.005239, allocations: 164.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.294/1.294, allocations: 170.8 MB / 186.6 MB, free: 1.145 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00164/0.00164, allocations: 110.6 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3424/0.3424, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003974, allocations: 8 kB / 362.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1235, allocations: 48.7 MB / 411.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.626/7.75, allocations: 2.485 GB / 2.887 GB, free: 50.36 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/7.75, allocations: 80.27 kB / 2.887 GB, free: 50.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.578/9.328, allocations: 348.2 MB / 3.227 GB, free: 24.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.487e-06/9.328, allocations: 3.938 kB / 3.227 GB, free: 24.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001218/9.328, allocations: 18.72 kB / 3.227 GB, free: 24.09 MB / 426.7 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.01209/9.34, allocations: 1.679 MB / 3.229 GB, free: 23.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.577e-05/9.34, allocations: 12.81 kB / 3.229 GB, free: 23.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004297/9.345, allocations: 399.1 kB / 3.229 GB, free: 23.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/9.347, allocations: 0.5819 MB / 3.23 GB, free: 22.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/9.347, allocations: 110 kB / 3.23 GB, free: 22.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003723/9.348, allocations: 59.7 kB / 3.23 GB, free: 22.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003991/9.352, allocations: 1.154 MB / 3.231 GB, free: 22.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/9.352, allocations: 3.125 kB / 3.231 GB, free: 22.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/9.352, allocations: 29.44 kB / 3.231 GB, free: 22.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.822e-05/9.352, allocations: 35.88 kB / 3.231 GB, free: 22.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00306/9.355, allocations: 1.078 MB / 3.232 GB, free: 21.76 MB / 426.7 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.008027/9.363, allocations: 4.937 MB / 3.237 GB, free: 17.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/9.366, allocations: 0.8378 MB / 3.238 GB, free: 17.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4465/9.812, allocations: 32.77 MB / 3.27 GB, free: 51.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.49e-05/9.812, allocations: 41.22 kB / 3.27 GB, free: 51.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 6.101e-06/9.812, allocations: 0.5 kB / 3.27 GB, free: 51.3 MB / 442.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: Volume.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=59): time 0.02761/9.84, allocations: 5.437 MB / 3.275 GB, free: 50.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/9.84, allocations: 113.2 kB / 3.275 GB, free: 50.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008531/9.841, allocations: 493.4 kB / 3.276 GB, free: 50.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.542e-05/9.841, allocations: 36.86 kB / 3.276 GB, free: 50.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/9.841, allocations: 352.7 kB / 3.276 GB, free: 50.17 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00022/9.842, allocations: 199.6 kB / 3.276 GB, free: 50.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/9.842, allocations: 13.34 kB / 3.277 GB, free: 50.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/9.842, allocations: 375.6 kB / 3.277 GB, free: 49.76 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009847/9.843, allocations: 492.6 kB / 3.277 GB, free: 49.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/9.844, allocations: 0.7048 MB / 3.278 GB, free: 49.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/9.845, allocations: 0.524 MB / 3.279 GB, free: 49.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/9.845, allocations: 0 / 3.279 GB, free: 49.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003419/9.848, allocations: 1.635 MB / 3.28 GB, free: 49.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006934/9.849, allocations: 2.699 MB / 3.283 GB, free: 46.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/9.849, allocations: 6.594 kB / 3.283 GB, free: 46.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002564/9.852, allocations: 1.191 MB / 3.284 GB, free: 46.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/9.852, allocations: 145.8 kB / 3.284 GB, free: 46.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003656/9.856, allocations: 2.798 MB / 3.287 GB, free: 44.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/9.857, allocations: 91.27 kB / 3.287 GB, free: 44.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/9.857, allocations: 46.69 kB / 3.287 GB, free: 44.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/9.857, allocations: 4.531 kB / 3.287 GB, free: 44.98 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003173/9.861, allocations: 1.447 MB / 3.288 GB, free: 44.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/9.861, allocations: 10.62 kB / 3.288 GB, free: 44.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002106/9.863, allocations: 1.025 MB / 3.289 GB, free: 44.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/9.863, allocations: 174.7 kB / 3.29 GB, free: 44.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004617/9.868, allocations: 5.048 MB / 3.294 GB, free: 41.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/9.869, allocations: 94.62 kB / 3.295 GB, free: 41.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.832e-05/9.869, allocations: 43.17 kB / 3.295 GB, free: 41.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (74): * Single equations (assignments): 71 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 7,2 1,3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007629/9.87, allocations: 331.3 kB / 3.295 GB, free: 41.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/9.87, allocations: 68.86 kB / 3.295 GB, free: 40.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006525/9.877, allocations: 4.53 MB / 3.299 GB, free: 40.63 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.998e-05/9.877, allocations: 48.94 kB / 3.299 GB, free: 40.63 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/9.877, allocations: 2.938 kB / 3.299 GB, free: 40.63 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/9.877, allocations: 8.812 kB / 3.299 GB, free: 40.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/9.887, allocations: 6.473 MB / 3.306 GB, free: 40.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/9.887, allocations: 0 / 3.306 GB, free: 40.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/9.888, allocations: 92.8 kB / 3.306 GB, free: 40.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003987/9.892, allocations: 2.265 MB / 3.308 GB, free: 40.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.135e-05/9.892, allocations: 25.16 kB / 3.308 GB, free: 40.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005238/9.897, allocations: 4.07 MB / 3.312 GB, free: 38.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/9.897, allocations: 0 / 3.312 GB, free: 38.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00577/9.903, allocations: 3.408 MB / 3.315 GB, free: 38.03 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009758/9.904, allocations: 377.4 kB / 3.316 GB, free: 37.87 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/9.904, allocations: 10.75 kB / 3.316 GB, free: 37.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007999/9.905, allocations: 90.83 kB / 3.316 GB, free: 37.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/9.905, allocations: 70.98 kB / 3.316 GB, free: 37.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.024e-05/9.905, allocations: 29.09 kB / 3.316 GB, free: 37.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006663/9.906, allocations: 471.5 kB / 3.316 GB, free: 37.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/9.906, allocations: 0 / 3.316 GB, free: 37.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008472/9.914, allocations: 1.429 MB / 3.318 GB, free: 37.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 29 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,2 1,3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01135/9.926, allocations: 1.687 MB / 3.319 GB, free: 37.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009217/9.935, allocations: 2.708 MB / 3.322 GB, free: 37.28 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/9.935, allocations: 0 / 3.322 GB, free: 37.28 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003689/9.939, allocations: 1.32 MB / 3.323 GB, free: 37.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/9.941, allocations: 275.8 kB / 3.324 GB, free: 37.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1515/10.09, allocations: 77.43 MB / 3.399 GB, free: 22.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006957/10.09, allocations: 1.224 MB / 3.4 GB, free: 21.46 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001548/10.09, allocations: 0.727 MB / 3.401 GB, free: 21.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/10.09, allocations: 59.44 kB / 3.401 GB, free: 20.98 MB / 442.7 MB Notification: Performance of SimCode: time 2.064e-06/10.09, allocations: 0 / 3.401 GB, free: 20.98 MB / 442.7 MB Notification: Performance of Templates: time 0.3981/10.49, allocations: 48.8 MB / 3.449 GB, free: 65.13 MB / 458.7 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)