Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.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.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007032/0.007032, allocations: 174.8 kB / 7.45 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.64/1.64, allocations: 170.6 MB / 178.4 MB, free: 15.43 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.001905/0.001905, allocations: 115.9 kB / 217.7 MB, free: 8.199 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.2309/0.2309, allocations: 37.97 MB / 294.8 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.428e-06/9.468e-06, allocations: 0 / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1398, allocations: 48.71 MB / 398.2 MB, free: 5.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.468/6.608, allocations: 2.506 GB / 2.895 GB, free: 5.773 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/6.608, allocations: 83.95 kB / 2.895 GB, free: 5.691 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.536/9.144, allocations: 0.6318 GB / 3.527 GB, free: 24.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001225/9.145, allocations: 27.59 kB / 3.527 GB, free: 24.54 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.009951/9.155, allocations: 2.324 MB / 3.529 GB, free: 22.19 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/9.155, allocations: 8.031 kB / 3.529 GB, free: 22.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005577/9.16, allocations: 0.6492 MB / 3.53 GB, free: 21.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/9.162, allocations: 0.8448 MB / 3.53 GB, free: 20.67 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/9.163, allocations: 179.4 kB / 3.531 GB, free: 20.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003547/9.163, allocations: 60 kB / 3.531 GB, free: 20.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002323/9.165, allocations: 1.168 MB / 3.532 GB, free: 19.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/9.168, allocations: 1.373 MB / 3.533 GB, free: 17.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.376e-05/9.168, allocations: 11.84 kB / 3.533 GB, free: 17.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/9.168, allocations: 4 kB / 3.533 GB, free: 17.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.318e-05/9.168, allocations: 53.05 kB / 3.533 GB, free: 17.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4257/9.594, allocations: 54.19 MB / 3.586 GB, free: 70.53 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006976/9.595, allocations: 363.6 kB / 3.586 GB, free: 70.51 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/9.595, allocations: 305.9 kB / 3.587 GB, free: 70.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1036/9.699, allocations: 52.92 MB / 3.638 GB, free: 36.63 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.375e-05/9.699, allocations: 47.17 kB / 3.639 GB, free: 36.59 MB / 458.7 MB Notification: Performance of pre-optimization done (n=63): time 3.777e-06/9.699, allocations: 0 / 3.639 GB, free: 36.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=71): time 0.01174/9.711, allocations: 2.815 MB / 3.641 GB, free: 36.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/9.711, allocations: 114.2 kB / 3.641 GB, free: 36.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/9.712, allocations: 0.6657 MB / 3.642 GB, free: 35.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001087/9.713, allocations: 25.7 kB / 3.642 GB, free: 35.85 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/9.713, allocations: 0.5331 MB / 3.643 GB, free: 35.56 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/9.713, allocations: 248 kB / 3.643 GB, free: 35.44 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.164e-05/9.713, allocations: 0 / 3.643 GB, free: 35.44 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001858/9.714, allocations: 404.2 kB / 3.643 GB, free: 35.12 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/9.714, allocations: 378.8 kB / 3.644 GB, free: 35.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009741/9.715, allocations: 1.002 MB / 3.645 GB, free: 34.33 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/9.718, allocations: 0.6802 MB / 3.645 GB, free: 34.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-05/9.718, allocations: 8.562 kB / 3.645 GB, free: 34.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005423/9.723, allocations: 2.055 MB / 3.647 GB, free: 34.17 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/9.723, allocations: 3.438 kB / 3.647 GB, free: 34.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.48e-05/9.723, allocations: 21.03 kB / 3.647 GB, free: 34.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/9.725, allocations: 470.8 kB / 3.648 GB, free: 34.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/9.725, allocations: 261.7 kB / 3.648 GB, free: 34.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/9.728, allocations: 1.933 MB / 3.65 GB, free: 33.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/9.73, allocations: 110 kB / 3.65 GB, free: 33.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/9.73, allocations: 84.78 kB / 3.65 GB, free: 33.07 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.mixingVolume2.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 16 (simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase,mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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 {1 4,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.0004385/9.73, allocations: 166.3 kB / 3.65 GB, free: 32.96 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/9.732, allocations: 428 kB / 3.651 GB, free: 32.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00572/9.737, allocations: 4.025 MB / 3.655 GB, free: 32.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-05/9.738, allocations: 48.19 kB / 3.655 GB, free: 32.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/9.738, allocations: 3.906 kB / 3.655 GB, free: 32.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/9.738, allocations: 3.75 kB / 3.655 GB, free: 32.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007395/9.745, allocations: 5.453 MB / 3.66 GB, free: 32.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/9.745, allocations: 4.062 kB / 3.66 GB, free: 32.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/9.746, allocations: 133.4 kB / 3.66 GB, free: 32.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/9.747, allocations: 0.5983 MB / 3.661 GB, free: 32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.572e-05/9.747, allocations: 19.78 kB / 3.661 GB, free: 32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/9.749, allocations: 1.864 MB / 3.662 GB, free: 30.94 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/9.749, allocations: 2.344 kB / 3.662 GB, free: 30.94 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006256/9.755, allocations: 4.179 MB / 3.667 GB, free: 30.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008591/9.756, allocations: 327.4 kB / 3.667 GB, free: 30.34 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003841/9.756, allocations: 6.906 kB / 3.667 GB, free: 30.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/9.757, allocations: 67.47 kB / 3.667 GB, free: 30.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/9.758, allocations: 70.28 kB / 3.667 GB, free: 30.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-05/9.758, allocations: 38.39 kB / 3.667 GB, free: 30.33 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.001213/9.759, allocations: 472 kB / 3.667 GB, free: 30.23 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01154/9.77, allocations: 1.456 MB / 3.669 GB, free: 30.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 27 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * 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 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01423/9.785, allocations: 2.354 MB / 3.671 GB, free: 29.85 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004212/9.789, allocations: 1.981 MB / 3.673 GB, free: 29.81 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/9.789, allocations: 6.844 kB / 3.673 GB, free: 29.81 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002538/9.792, allocations: 1.681 MB / 3.675 GB, free: 29.78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/9.794, allocations: 375.2 kB / 3.675 GB, free: 29.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1317/9.926, allocations: 46.7 MB / 3.721 GB, free: 21.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00166/9.928, allocations: 1.44 MB / 3.722 GB, free: 20.34 MB / 458.7 MB Notification: Performance of SimCode: time 1.272e-06/9.928, allocations: 0 / 3.722 GB, free: 20.34 MB / 458.7 MB Notification: Performance of Templates: time 0.3908/10.32, allocations: 51.69 MB / 3.773 GB, free: 75.57 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1)