Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") [: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.004299/0.004299, allocations: 171.7 kB / 7.445 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.24/1.24, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.002095/0.002095, allocations: 119.8 kB / 217.7 MB, free: 8.152 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.1834/0.1834, allocations: 37.98 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.797e-06/8.827e-06, allocations: 1.125 kB / 349.5 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.092/0.09202, allocations: 48.71 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.745/5.837, allocations: 2.501 GB / 2.89 GB, free: 108.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/5.837, allocations: 83 kB / 2.89 GB, free: 108.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.665/7.502, allocations: 422.4 MB / 3.303 GB, free: 41.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001092/7.502, allocations: 20.73 kB / 3.303 GB, free: 41.53 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.01023/7.513, allocations: 1.739 MB / 3.304 GB, free: 40.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.63e-05/7.513, allocations: 14.75 kB / 3.304 GB, free: 40.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003449/7.516, allocations: 333.3 kB / 3.305 GB, free: 40.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/7.518, allocations: 0.5819 MB / 3.305 GB, free: 40.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-05/7.518, allocations: 25.75 kB / 3.305 GB, free: 40.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/7.519, allocations: 32.22 kB / 3.305 GB, free: 40.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001429/7.52, allocations: 0.5349 MB / 3.306 GB, free: 39.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/7.522, allocations: 0.6553 MB / 3.306 GB, free: 39.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/7.522, allocations: 3.875 kB / 3.306 GB, free: 39.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/7.522, allocations: 0 / 3.306 GB, free: 39.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-05/7.522, allocations: 26.92 kB / 3.306 GB, free: 39.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5112/8.033, allocations: 68.94 MB / 3.374 GB, free: 95.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/8.034, allocations: 312.3 kB / 3.374 GB, free: 95.33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/8.034, allocations: 171.4 kB / 3.374 GB, free: 95.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03356/8.068, allocations: 17.03 MB / 3.391 GB, free: 84.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.877e-05/8.068, allocations: 37.34 kB / 3.391 GB, free: 84.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 4.839e-06/8.068, allocations: 0 / 3.391 GB, free: 84.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.02533/8.093, allocations: 3.431 MB / 3.394 GB, free: 84.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/8.093, allocations: 110.2 kB / 3.394 GB, free: 83.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/8.094, allocations: 423.4 kB / 3.395 GB, free: 83.81 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001232/8.094, allocations: 29.42 kB / 3.395 GB, free: 83.78 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/8.095, allocations: 318 kB / 3.395 GB, free: 83.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/8.095, allocations: 175.2 kB / 3.395 GB, free: 83.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/8.095, allocations: 0 / 3.395 GB, free: 83.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002046/8.095, allocations: 375 kB / 3.396 GB, free: 83.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006121/8.096, allocations: 281.9 kB / 3.396 GB, free: 83.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008074/8.097, allocations: 0.4938 MB / 3.396 GB, free: 82.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/8.099, allocations: 459.6 kB / 3.397 GB, free: 82.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/8.099, allocations: 6.219 kB / 3.397 GB, free: 82.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004726/8.103, allocations: 1.437 MB / 3.398 GB, free: 82.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009133/8.104, allocations: 2.61 MB / 3.401 GB, free: 80.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.755e-05/8.104, allocations: 10.83 kB / 3.401 GB, free: 80.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002751/8.107, allocations: 0.5513 MB / 3.401 GB, free: 80.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/8.108, allocations: 192.5 kB / 3.401 GB, free: 80.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003525/8.111, allocations: 1.914 MB / 3.403 GB, free: 79.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/8.113, allocations: 136.8 kB / 3.403 GB, free: 79.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/8.113, allocations: 52.48 kB / 3.404 GB, free: 79.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/8.113, allocations: 3.312 kB / 3.404 GB, free: 79.05 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002924/8.116, allocations: 0.9286 MB / 3.404 GB, free: 79.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/8.116, allocations: 7.188 kB / 3.404 GB, free: 79.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/8.118, allocations: 377.2 kB / 3.405 GB, free: 79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006905/8.118, allocations: 200.3 kB / 3.405 GB, free: 79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/8.12, allocations: 1.566 MB / 3.407 GB, free: 77.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/8.121, allocations: 110.1 kB / 3.407 GB, free: 77.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/8.121, allocations: 37.09 kB / 3.407 GB, free: 77.95 MB / 442.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 $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.medium.phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003604/8.122, allocations: 137.7 kB / 3.407 GB, free: 77.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008609/8.123, allocations: 276 kB / 3.407 GB, free: 77.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004301/8.127, allocations: 2.347 MB / 3.409 GB, free: 77.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/8.127, allocations: 21.86 kB / 3.409 GB, free: 77.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/8.127, allocations: 0 / 3.409 GB, free: 77.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/8.127, allocations: 3.516 kB / 3.409 GB, free: 77.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005224/8.132, allocations: 3.312 MB / 3.413 GB, free: 77.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/8.132, allocations: 6.094 kB / 3.413 GB, free: 77.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/8.133, allocations: 99.86 kB / 3.413 GB, free: 77.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002539/8.135, allocations: 1.011 MB / 3.414 GB, free: 77.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.031e-05/8.135, allocations: 18.3 kB / 3.414 GB, free: 77.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003217/8.139, allocations: 2.301 MB / 3.416 GB, free: 76.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/8.139, allocations: 3.688 kB / 3.416 GB, free: 76.14 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003505/8.142, allocations: 1.968 MB / 3.418 GB, free: 75.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007067/8.143, allocations: 294.2 kB / 3.418 GB, free: 75.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/8.143, allocations: 3.438 kB / 3.418 GB, free: 75.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008916/8.144, allocations: 99.14 kB / 3.418 GB, free: 75.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/8.144, allocations: 52.45 kB / 3.418 GB, free: 75.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.987e-05/8.144, allocations: 30.8 kB / 3.418 GB, free: 75.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.000711/8.145, allocations: 439.7 kB / 3.419 GB, free: 75.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009106/8.154, allocations: 1.487 MB / 3.42 GB, free: 75.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 8,2 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01499/8.169, allocations: 1.956 MB / 3.422 GB, free: 75.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004574/8.174, allocations: 1.515 MB / 3.424 GB, free: 75.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/8.174, allocations: 0 / 3.424 GB, free: 75.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001687/8.175, allocations: 0.8164 MB / 3.424 GB, free: 75.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/8.178, allocations: 237 kB / 3.425 GB, free: 75.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0446/8.222, allocations: 15.46 MB / 3.44 GB, free: 74.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/8.224, allocations: 1.111 MB / 3.441 GB, free: 74.14 MB / 442.7 MB Notification: Performance of SimCode: time 1.763e-06/8.224, allocations: 0 / 3.441 GB, free: 74.14 MB / 442.7 MB Notification: Performance of Templates: time 0.1005/8.324, allocations: 51.38 MB / 3.491 GB, free: 68.11 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe 2>&1)