Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.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.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.002972/0.002972, allocations: 183.6 kB / 7.459 MB, free: 2.504 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.421/1.421, allocations: 194.2 MB / 202.1 MB, free: 8.656 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.0017/0.0017, allocations: 123.3 kB / 247.1 MB, free: 6.363 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2008/0.2008, allocations: 39.95 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.851e-06/5.871e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1309, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.194/5.325, allocations: 2.617 GB / 3.054 GB, free: 132.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/5.325, allocations: 85.83 kB / 3.054 GB, free: 132.9 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.974/7.299, allocations: 0.6485 GB / 3.702 GB, free: 19.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00013/7.3, allocations: 28 kB / 3.702 GB, free: 19.14 MB / 490.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.009985/7.31, allocations: 2.4 MB / 3.705 GB, free: 16.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/7.31, allocations: 8.031 kB / 3.705 GB, free: 16.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005587/7.315, allocations: 0.6969 MB / 3.705 GB, free: 16.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/7.318, allocations: 0.8478 MB / 3.706 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/7.318, allocations: 172.8 kB / 3.706 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004161/7.318, allocations: 60 kB / 3.706 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002466/7.321, allocations: 1.164 MB / 3.708 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/7.323, allocations: 1.382 MB / 3.709 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/7.324, allocations: 11.84 kB / 3.709 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/7.324, allocations: 4 kB / 3.709 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.028e-05/7.324, allocations: 49.98 kB / 3.709 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3371/7.661, allocations: 55.26 MB / 3.763 GB, free: 72.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/7.661, allocations: 366.1 kB / 3.763 GB, free: 72.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/7.662, allocations: 309.2 kB / 3.764 GB, free: 72.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09439/7.756, allocations: 52.92 MB / 3.815 GB, free: 38.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/7.756, allocations: 41.56 kB / 3.815 GB, free: 38.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=63): time 3.467e-06/7.756, allocations: 4 kB / 3.815 GB, free: 38.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71): time 0.009573/7.766, allocations: 2.818 MB / 3.818 GB, free: 38.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/7.766, allocations: 110.7 kB / 3.818 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008306/7.767, allocations: 0.6693 MB / 3.819 GB, free: 38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/7.767, allocations: 28.7 kB / 3.819 GB, free: 37.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/7.767, allocations: 0.5261 MB / 3.819 GB, free: 37.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/7.767, allocations: 246.9 kB / 3.82 GB, free: 37.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/7.767, allocations: 0 / 3.82 GB, free: 37.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001224/7.768, allocations: 408 kB / 3.82 GB, free: 37.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/7.768, allocations: 383.8 kB / 3.82 GB, free: 37.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000771/7.769, allocations: 0.9997 MB / 3.821 GB, free: 36.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/7.771, allocations: 0.673 MB / 3.822 GB, free: 36.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/7.771, allocations: 11.59 kB / 3.822 GB, free: 36.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004634/7.776, allocations: 2.042 MB / 3.824 GB, free: 36.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/7.776, allocations: 13.14 kB / 3.824 GB, free: 36.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/7.776, allocations: 21.97 kB / 3.824 GB, free: 36.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/7.777, allocations: 459.7 kB / 3.824 GB, free: 36.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007318/7.778, allocations: 272.9 kB / 3.825 GB, free: 36.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/7.78, allocations: 1.936 MB / 3.827 GB, free: 35.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/7.781, allocations: 101.7 kB / 3.827 GB, free: 35.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/7.781, allocations: 86.31 kB / 3.827 GB, free: 35.18 MB / 0.4948 GB 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.000252/7.781, allocations: 168.4 kB / 3.827 GB, free: 35.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/7.783, allocations: 421.5 kB / 3.827 GB, free: 35.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004658/7.787, allocations: 4.03 MB / 3.831 GB, free: 34.69 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.279e-05/7.787, allocations: 52.56 kB / 3.831 GB, free: 34.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/7.787, allocations: 0 / 3.831 GB, free: 34.69 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/7.787, allocations: 3.891 kB / 3.831 GB, free: 34.69 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006319/7.794, allocations: 5.455 MB / 3.837 GB, free: 34.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/7.794, allocations: 4.047 kB / 3.837 GB, free: 34.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/7.794, allocations: 126.5 kB / 3.837 GB, free: 34.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/7.795, allocations: 0.6044 MB / 3.837 GB, free: 34.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.686e-05/7.795, allocations: 18 kB / 3.837 GB, free: 34.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/7.797, allocations: 1.861 MB / 3.839 GB, free: 33.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/7.797, allocations: 4.938 kB / 3.839 GB, free: 33.06 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005071/7.802, allocations: 4.175 MB / 3.843 GB, free: 32.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006101/7.802, allocations: 330.6 kB / 3.844 GB, free: 32.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/7.803, allocations: 7.156 kB / 3.844 GB, free: 32.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006584/7.803, allocations: 62.81 kB / 3.844 GB, free: 32.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/7.803, allocations: 74.59 kB / 3.844 GB, free: 32.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.409e-05/7.804, allocations: 39.12 kB / 3.844 GB, free: 32.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005451/7.804, allocations: 471.8 kB / 3.844 GB, free: 32.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005816/7.81, allocations: 1.471 MB / 3.846 GB, free: 32.37 MB / 0.4948 GB 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.008999/7.819, allocations: 2.365 MB / 3.848 GB, free: 32.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002554/7.822, allocations: 1.985 MB / 3.85 GB, free: 31.99 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/7.822, allocations: 0 / 3.85 GB, free: 31.99 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0016/7.823, allocations: 1.666 MB / 3.852 GB, free: 31.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/7.825, allocations: 385.7 kB / 3.852 GB, free: 31.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1188/7.944, allocations: 47.54 MB / 3.898 GB, free: 27.99 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/7.945, allocations: 1.431 MB / 3.9 GB, free: 26.78 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/7.945, allocations: 0 / 3.9 GB, free: 26.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.2927/8.238, allocations: 51.97 MB / 3.95 GB, free: 81.33 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1)