Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") [: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.003998/0.003998, allocations: 186.5 kB / 7.46 MB, free: 2.5 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.154/1.154, allocations: 194.2 MB / 202.1 MB, free: 8.668 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.001702/0.001702, allocations: 119.7 kB / 247.1 MB, free: 6.371 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.1582/0.1582, allocations: 39.94 MB / 331.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.747e-06/9.167e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.712/0.8124, allocations: 315.1 MB / 0.7449 GB, free: 112.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.8127, allocations: 83.95 kB / 0.745 GB, free: 112.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.5297/1.342, allocations: 162.9 MB / 0.9041 GB, free: 111.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001165/1.343, allocations: 17.91 kB / 0.9041 GB, free: 111.4 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003195/1.346, allocations: 1.078 MB / 0.9051 GB, free: 110.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.346, allocations: 11.41 kB / 0.9051 GB, free: 110.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004835/1.346, allocations: 104.9 kB / 0.9052 GB, free: 110.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/1.347, allocations: 0.6304 MB / 0.9059 GB, free: 110.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/1.347, allocations: 14.97 kB / 0.9059 GB, free: 110.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.957e-05/1.348, allocations: 31.81 kB / 0.9059 GB, free: 110.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009518/1.349, allocations: 0.603 MB / 0.9065 GB, free: 110.1 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009092/1.349, allocations: 0.6595 MB / 0.9071 GB, free: 109.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/1.349, allocations: 6.719 kB / 0.9071 GB, free: 109.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.376e-05/1.35, allocations: 3.875 kB / 0.9071 GB, free: 109.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/1.35, allocations: 20.72 kB / 0.9072 GB, free: 109.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003897/1.353, allocations: 3.207 MB / 0.9103 GB, free: 107.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006985/1.354, allocations: 365.2 kB / 0.9106 GB, free: 107.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/1.355, allocations: 239.2 kB / 0.9109 GB, free: 107.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/1.355, allocations: 0.571 MB / 0.9114 GB, free: 106.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/1.355, allocations: 41.39 kB / 0.9115 GB, free: 106.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=45): time 3.026e-06/1.355, allocations: 0 / 0.9115 GB, free: 106.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=63): time 0.03109/1.386, allocations: 5.036 MB / 0.9164 GB, free: 104.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/1.386, allocations: 114.9 kB / 0.9165 GB, free: 104.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007942/1.387, allocations: 455.1 kB / 0.9169 GB, free: 104.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.092e-05/1.387, allocations: 27.08 kB / 0.917 GB, free: 104.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/1.387, allocations: 297.2 kB / 0.9172 GB, free: 104.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/1.387, allocations: 206 kB / 0.9174 GB, free: 104.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/1.388, allocations: 0 / 0.9174 GB, free: 104.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/1.388, allocations: 381.8 kB / 0.9178 GB, free: 103.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/1.388, allocations: 256.9 kB / 0.918 GB, free: 103.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006457/1.389, allocations: 0.4974 MB / 0.9185 GB, free: 103.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003252/1.392, allocations: 0.6561 MB / 0.9192 GB, free: 103.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.423e-06/1.392, allocations: 2.688 kB / 0.9192 GB, free: 103.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004761/1.397, allocations: 1.326 MB / 0.9205 GB, free: 102.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00078/1.398, allocations: 2.955 MB / 0.9234 GB, free: 99.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/1.398, allocations: 7.781 kB / 0.9234 GB, free: 99.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004562/1.402, allocations: 0.7147 MB / 0.9241 GB, free: 99.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009413/1.403, allocations: 222.4 kB / 0.9243 GB, free: 99.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003809/1.407, allocations: 1.838 MB / 0.9261 GB, free: 98.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/1.408, allocations: 104.9 kB / 0.9262 GB, free: 98.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/1.409, allocations: 54.03 kB / 0.9262 GB, free: 98.06 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.409, allocations: 4.25 kB / 0.9262 GB, free: 98.06 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003972/1.413, allocations: 1.031 MB / 0.9272 GB, free: 97.78 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/1.413, allocations: 7.406 kB / 0.9272 GB, free: 97.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/1.414, allocations: 255.5 kB / 0.9275 GB, free: 97.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/1.415, allocations: 244.6 kB / 0.9277 GB, free: 97.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004403/1.419, allocations: 3.641 MB / 0.9313 GB, free: 94.65 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/1.42, allocations: 87.95 kB / 0.9314 GB, free: 94.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/1.421, allocations: 45.64 kB / 0.9314 GB, free: 94.64 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.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: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003874/1.421, allocations: 131.8 kB / 0.9315 GB, free: 94.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/1.421, allocations: 75.72 kB / 0.9316 GB, free: 94.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004677/1.426, allocations: 1.518 MB / 0.9331 GB, free: 93.97 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/1.426, allocations: 11.09 kB / 0.9331 GB, free: 93.97 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.426, allocations: 0 / 0.9331 GB, free: 93.97 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/1.426, allocations: 8.5 kB / 0.9331 GB, free: 93.97 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0057/1.432, allocations: 2.136 MB / 0.9352 GB, free: 93.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/1.432, allocations: 0.7031 kB / 0.9352 GB, free: 93.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006706/1.432, allocations: 163.1 kB / 0.9353 GB, free: 93.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002068/1.434, allocations: 0.4894 MB / 0.9358 GB, free: 92.99 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.75e-05/1.434, allocations: 13.12 kB / 0.9358 GB, free: 92.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/1.436, allocations: 1.603 MB / 0.9374 GB, free: 91.73 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.436, allocations: 0 / 0.9374 GB, free: 91.73 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003902/1.44, allocations: 1.599 MB / 0.939 GB, free: 91.08 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005044/1.441, allocations: 235.1 kB / 0.9392 GB, free: 90.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/1.441, allocations: 3.938 kB / 0.9392 GB, free: 90.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/1.442, allocations: 98.52 kB / 0.9393 GB, free: 90.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/1.442, allocations: 50.5 kB / 0.9393 GB, free: 90.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.066e-05/1.442, allocations: 38.22 kB / 0.9394 GB, free: 90.87 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0006212/1.443, allocations: 343.8 kB / 0.9397 GB, free: 90.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002878/1.445, allocations: 0.5882 MB / 0.9403 GB, free: 90.61 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 6,3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001536/1.447, allocations: 0.5409 MB / 0.9408 GB, free: 90.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004135/1.451, allocations: 1.371 MB / 0.9421 GB, free: 89.68 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.451, allocations: 4 kB / 0.9421 GB, free: 89.68 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007396/1.452, allocations: 404.7 kB / 0.9425 GB, free: 89.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/1.454, allocations: 272.1 kB / 0.9428 GB, free: 89.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/1.456, allocations: 1.204 MB / 0.944 GB, free: 88.03 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005944/1.457, allocations: 1.083 MB / 0.945 GB, free: 87.05 MB / 474.7 MB Notification: Performance of SimCode: time 1.052e-06/1.457, allocations: 0 / 0.945 GB, free: 87.05 MB / 474.7 MB Notification: Performance of Templates: time 0.03534/1.492, allocations: 27.14 MB / 0.9715 GB, free: 61.5 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1)