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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.00155/0.00155, allocations: 176 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.749/1.749, allocations: 194.3 MB / 202.4 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00172/0.00172, allocations: 112.7 kB / 247.4 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2131/0.2131, allocations: 39.95 MB / 332.2 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.775e-05/2.774e-05, allocations: 4 kB / 393.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3662, allocations: 54.87 MB / 448.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.798/7.164, allocations: 2.595 GB / 3.033 GB, free: 146 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/7.165, allocations: 93.19 kB / 3.033 GB, free: 146 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.002/8.167, allocations: 351.5 MB / 3.376 GB, free: 6.734 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.054e-06/8.167, allocations: 4 kB / 3.376 GB, free: 6.73 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.223e-05/8.167, allocations: 16 kB / 3.376 GB, free: 6.715 MB / 474.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.007087/8.174, allocations: 1.652 MB / 3.378 GB, free: 5.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/8.174, allocations: 12.02 kB / 3.378 GB, free: 5.008 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003675/8.178, allocations: 443.2 kB / 3.378 GB, free: 4.574 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/8.179, allocations: 0.5788 MB / 3.379 GB, free: 3.965 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/8.179, allocations: 92.7 kB / 3.379 GB, free: 3.863 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/8.18, allocations: 32 kB / 3.379 GB, free: 3.832 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001291/8.181, allocations: 0.7327 MB / 3.38 GB, free: 3.098 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/8.182, allocations: 0.8404 MB / 3.381 GB, free: 2.195 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/8.182, allocations: 0 / 3.381 GB, free: 2.195 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.686e-05/8.182, allocations: 0 / 3.381 GB, free: 2.195 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/8.182, allocations: 33.3 kB / 3.381 GB, free: 2.164 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.4007/8.583, allocations: 36.86 MB / 3.417 GB, free: 40.86 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009802/8.584, allocations: 482.3 kB / 3.417 GB, free: 40.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004029/8.585, allocations: 253.4 kB / 3.417 GB, free: 40.83 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0577/8.642, allocations: 31.52 MB / 3.448 GB, free: 21.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/8.642, allocations: 41.38 kB / 3.448 GB, free: 21.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=42): time 2.184e-06/8.642, allocations: 2.562 kB / 3.448 GB, free: 21.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=54): time 0.01698/8.659, allocations: 3.266 MB / 3.451 GB, free: 21.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/8.66, allocations: 110.7 kB / 3.451 GB, free: 20.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006817/8.66, allocations: 405.7 kB / 3.452 GB, free: 20.81 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00011/8.66, allocations: 25.7 kB / 3.452 GB, free: 20.78 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/8.661, allocations: 372.9 kB / 3.452 GB, free: 20.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/8.661, allocations: 178.8 kB / 3.452 GB, free: 20.51 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-05/8.661, allocations: 0 / 3.452 GB, free: 20.51 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/8.661, allocations: 362 kB / 3.453 GB, free: 20.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/8.662, allocations: 398.8 kB / 3.453 GB, free: 20.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006266/8.662, allocations: 0.6138 MB / 3.454 GB, free: 19.92 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/8.664, allocations: 0.6827 MB / 3.454 GB, free: 19.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/8.664, allocations: 3.953 kB / 3.454 GB, free: 19.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003491/8.668, allocations: 1.604 MB / 3.456 GB, free: 19.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001736/8.669, allocations: 2.702 MB / 3.459 GB, free: 32.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/8.67, allocations: 7.812 kB / 3.459 GB, free: 32.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/8.671, allocations: 1.085 MB / 3.46 GB, free: 32.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005441/8.672, allocations: 146 kB / 3.46 GB, free: 32.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003836/8.676, allocations: 2.897 MB / 3.463 GB, free: 31.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/8.677, allocations: 96.55 kB / 3.463 GB, free: 31.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/8.677, allocations: 44.75 kB / 3.463 GB, free: 31.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/8.677, allocations: 3.844 kB / 3.463 GB, free: 31.33 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002283/8.679, allocations: 0.9703 MB / 3.464 GB, free: 31.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/8.679, allocations: 7.562 kB / 3.464 GB, free: 31.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004426/8.68, allocations: 256.5 kB / 3.464 GB, free: 31.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/8.68, allocations: 190.9 kB / 3.464 GB, free: 31.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004012/8.684, allocations: 4.263 MB / 3.468 GB, free: 27.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009171/8.685, allocations: 61.52 kB / 3.468 GB, free: 27.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.903e-05/8.685, allocations: 41.55 kB / 3.468 GB, free: 27.64 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.Volume.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.Volume.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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.0004608/8.686, allocations: 132.5 kB / 3.468 GB, free: 27.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/8.686, allocations: 64.48 kB / 3.469 GB, free: 27.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005807/8.692, allocations: 4.194 MB / 3.473 GB, free: 27.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.138e-05/8.692, allocations: 37.73 kB / 3.473 GB, free: 27.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/8.692, allocations: 0 / 3.473 GB, free: 27.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/8.692, allocations: 7.891 kB / 3.473 GB, free: 27.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007308/8.699, allocations: 5.768 MB / 3.478 GB, free: 26.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/8.699, allocations: 3.688 kB / 3.478 GB, free: 26.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/8.7, allocations: 78.48 kB / 3.478 GB, free: 26.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003013/8.703, allocations: 2.496 MB / 3.481 GB, free: 26.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-05/8.703, allocations: 11.36 kB / 3.481 GB, free: 26.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00477/8.708, allocations: 4.57 MB / 3.485 GB, free: 24.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/8.708, allocations: 0 / 3.485 GB, free: 24.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004007/8.712, allocations: 3.24 MB / 3.488 GB, free: 24.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/8.712, allocations: 324.3 kB / 3.489 GB, free: 24.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/8.712, allocations: 5.781 kB / 3.489 GB, free: 24.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008713/8.713, allocations: 76.42 kB / 3.489 GB, free: 24.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/8.713, allocations: 67.19 kB / 3.489 GB, free: 24.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.256e-05/8.713, allocations: 28.39 kB / 3.489 GB, free: 24.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000506/8.714, allocations: 349.8 kB / 3.489 GB, free: 24.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.8e-07/8.714, allocations: 0 / 3.489 GB, free: 24.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00826/8.722, allocations: 1.359 MB / 3.491 GB, free: 24.39 MB / 490.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: 24 ($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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.009456/8.732, allocations: 1.736 MB / 3.492 GB, free: 24.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005076/8.737, allocations: 2.138 MB / 3.494 GB, free: 23.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/8.737, allocations: 0 / 3.494 GB, free: 23.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002876/8.74, allocations: 1.132 MB / 3.496 GB, free: 23.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/8.742, allocations: 257.7 kB / 3.496 GB, free: 23.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/8.745, allocations: 1.937 MB / 3.498 GB, free: 23.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007875/8.746, allocations: 1.171 MB / 3.499 GB, free: 22.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001445/8.747, allocations: 0.8118 MB / 3.5 GB, free: 22.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/8.748, allocations: 47 kB / 3.5 GB, free: 22.74 MB / 490.7 MB Notification: Performance of SimCode: time 2.765e-06/8.748, allocations: 0 / 3.5 GB, free: 22.74 MB / 490.7 MB Notification: Performance of Templates: time 0.06011/8.808, allocations: 42.82 MB / 3.541 GB, free: 5.836 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile (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)