Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.003617/0.003617, allocations: 176.3 kB / 7.452 MB, free: 2.504 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.265/1.265, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.001789/0.001789, allocations: 124.4 kB / 217.7 MB, free: 8.164 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.1813/0.1813, allocations: 37.97 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.876e-06/8.896e-06, allocations: 0 / 349.5 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1092, allocations: 48.71 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7122/0.8215, allocations: 308.8 MB / 0.6905 GB, free: 99.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.8218, allocations: 79.95 kB / 0.6905 GB, free: 99.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.5629/1.385, allocations: 162.8 MB / 0.8495 GB, free: 99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001142/1.385, allocations: 25.59 kB / 0.8495 GB, free: 98.99 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.004087/1.389, allocations: 1.076 MB / 0.8506 GB, free: 98.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/1.389, allocations: 8.312 kB / 0.8506 GB, free: 98.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000759/1.39, allocations: 98.66 kB / 0.8507 GB, free: 98.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/1.392, allocations: 0.6341 MB / 0.8513 GB, free: 97.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/1.392, allocations: 16.78 kB / 0.8513 GB, free: 97.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/1.392, allocations: 32.8 kB / 0.8513 GB, free: 97.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001486/1.394, allocations: 0.6082 MB / 0.8519 GB, free: 97.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/1.395, allocations: 0.6537 MB / 0.8526 GB, free: 97.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/1.395, allocations: 1.219 kB / 0.8526 GB, free: 97.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.645e-05/1.395, allocations: 5.219 kB / 0.8526 GB, free: 97.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.771e-05/1.395, allocations: 19.84 kB / 0.8526 GB, free: 97.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005848/1.401, allocations: 3.192 MB / 0.8557 GB, free: 94.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009165/1.402, allocations: 375 kB / 0.8561 GB, free: 94.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/1.403, allocations: 238.5 kB / 0.8563 GB, free: 94.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004224/1.403, allocations: 0.575 MB / 0.8569 GB, free: 93.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/1.403, allocations: 37.94 kB / 0.8569 GB, free: 93.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 2.945e-06/1.403, allocations: 3.938 kB / 0.8569 GB, free: 93.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=63): time 0.0332/1.436, allocations: 5.035 MB / 0.8618 GB, free: 90.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/1.436, allocations: 121.3 kB / 0.8619 GB, free: 90.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008088/1.437, allocations: 456.5 kB / 0.8624 GB, free: 90.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.884e-05/1.437, allocations: 29.64 kB / 0.8624 GB, free: 90.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/1.437, allocations: 295.6 kB / 0.8627 GB, free: 90 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/1.438, allocations: 212.8 kB / 0.8629 GB, free: 89.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/1.438, allocations: 0 / 0.8629 GB, free: 89.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/1.438, allocations: 378.8 kB / 0.8632 GB, free: 89.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004389/1.438, allocations: 254 kB / 0.8635 GB, free: 89.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005215/1.439, allocations: 0.5032 MB / 0.864 GB, free: 88.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003053/1.442, allocations: 0.6509 MB / 0.8646 GB, free: 87.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.442, allocations: 0 / 0.8646 GB, free: 87.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004453/1.446, allocations: 1.321 MB / 0.8659 GB, free: 86.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009017/1.447, allocations: 2.958 MB / 0.8688 GB, free: 83.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/1.447, allocations: 8 kB / 0.8688 GB, free: 83.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004288/1.452, allocations: 0.71 MB / 0.8695 GB, free: 82.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008143/1.452, allocations: 231.5 kB / 0.8697 GB, free: 82.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/1.456, allocations: 1.827 MB / 0.8715 GB, free: 80.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/1.457, allocations: 99.97 kB / 0.8716 GB, free: 80.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/1.457, allocations: 55.95 kB / 0.8716 GB, free: 80.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/1.457, allocations: 4.109 kB / 0.8716 GB, free: 80.39 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003493/1.461, allocations: 1.037 MB / 0.8727 GB, free: 79.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.461, allocations: 8 kB / 0.8727 GB, free: 79.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/1.462, allocations: 253.6 kB / 0.8729 GB, free: 79.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008344/1.463, allocations: 239.6 kB / 0.8731 GB, free: 78.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00392/1.467, allocations: 3.642 MB / 0.8767 GB, free: 75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/1.468, allocations: 99.83 kB / 0.8768 GB, free: 74.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-05/1.468, allocations: 39.97 kB / 0.8768 GB, free: 74.86 MB / 426.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.0003174/1.468, allocations: 124.8 kB / 0.8769 GB, free: 74.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/1.469, allocations: 75.06 kB / 0.877 GB, free: 74.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00414/1.473, allocations: 1.519 MB / 0.8785 GB, free: 73.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/1.473, allocations: 15.98 kB / 0.8785 GB, free: 73.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/1.473, allocations: 1.375 kB / 0.8785 GB, free: 73.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/1.473, allocations: 7.984 kB / 0.8785 GB, free: 73.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005236/1.478, allocations: 2.144 MB / 0.8806 GB, free: 70.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.478, allocations: 3.938 kB / 0.8806 GB, free: 70.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006205/1.479, allocations: 159.8 kB / 0.8808 GB, free: 70.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001943/1.481, allocations: 495.8 kB / 0.8812 GB, free: 70.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-05/1.481, allocations: 15.98 kB / 0.8813 GB, free: 70.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/1.482, allocations: 1.613 MB / 0.8828 GB, free: 68.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.482, allocations: 4.062 kB / 0.8828 GB, free: 68.61 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00367/1.486, allocations: 1.591 MB / 0.8844 GB, free: 67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005001/1.487, allocations: 231.9 kB / 0.8846 GB, free: 66.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/1.487, allocations: 0 / 0.8846 GB, free: 66.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008201/1.488, allocations: 95.97 kB / 0.8847 GB, free: 66.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.488, allocations: 56.69 kB / 0.8848 GB, free: 66.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.049e-05/1.488, allocations: 32.8 kB / 0.8848 GB, free: 66.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000416/1.488, allocations: 347.2 kB / 0.8851 GB, free: 66.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002614/1.491, allocations: 0.5817 MB / 0.8857 GB, free: 65.66 MB / 426.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.001657/1.493, allocations: 0.5524 MB / 0.8862 GB, free: 65.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003174/1.496, allocations: 1.369 MB / 0.8876 GB, free: 63.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.496, allocations: 0.8125 kB / 0.8876 GB, free: 63.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006831/1.496, allocations: 402 kB / 0.888 GB, free: 63.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/1.498, allocations: 283.6 kB / 0.8882 GB, free: 63.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/1.501, allocations: 1.21 MB / 0.8894 GB, free: 61.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006876/1.501, allocations: 1.071 MB / 0.8905 GB, free: 60.78 MB / 426.7 MB Notification: Performance of SimCode: time 4.7e-07/1.502, allocations: 3.938 kB / 0.8905 GB, free: 60.78 MB / 426.7 MB Notification: Performance of Templates: time 0.03929/1.541, allocations: 27.13 MB / 0.917 GB, free: 33.75 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1)