Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") [: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.003543/0.003543, allocations: 174.7 kB / 7.45 MB, free: 2.34 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.297/1.297, 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.001764/0.001764, allocations: 113 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.1842/0.1842, allocations: 37.98 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.805e-06/7.825e-06, allocations: 1.062 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 48.7 MB / 398.2 MB, free: 5.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.115/6.235, allocations: 2.502 GB / 2.891 GB, free: 10.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/6.235, allocations: 84.7 kB / 2.891 GB, free: 10.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.798/8.034, allocations: 423.3 MB / 3.304 GB, free: 42.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.843e-05/8.034, allocations: 16.84 kB / 3.304 GB, free: 42.01 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.01188/8.046, allocations: 1.741 MB / 3.306 GB, free: 41.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.853e-05/8.046, allocations: 11.38 kB / 3.306 GB, free: 41.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003727/8.049, allocations: 340.4 kB / 3.306 GB, free: 40.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/8.052, allocations: 0.5912 MB / 3.307 GB, free: 40.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.298e-05/8.052, allocations: 24.91 kB / 3.307 GB, free: 40.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/8.052, allocations: 34.72 kB / 3.307 GB, free: 40.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001394/8.053, allocations: 0.559 MB / 3.307 GB, free: 40.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/8.055, allocations: 0.6743 MB / 3.308 GB, free: 40.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/8.055, allocations: 3.938 kB / 3.308 GB, free: 40.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-05/8.055, allocations: 7.5 kB / 3.308 GB, free: 40.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/8.055, allocations: 20.09 kB / 3.308 GB, free: 40.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09389/8.149, allocations: 36.9 MB / 3.344 GB, free: 18.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/8.151, allocations: 408.8 kB / 3.344 GB, free: 18.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006106/8.151, allocations: 210.8 kB / 3.345 GB, free: 18.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07392/8.225, allocations: 20.07 MB / 3.364 GB, free: 17.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.942e-05/8.225, allocations: 38.47 kB / 3.364 GB, free: 17.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 5.11e-06/8.225, allocations: 0 / 3.364 GB, free: 17.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.04799/8.273, allocations: 3.712 MB / 3.368 GB, free: 14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/8.274, allocations: 111.5 kB / 3.368 GB, free: 13.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/8.275, allocations: 414.4 kB / 3.368 GB, free: 13.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/8.275, allocations: 26.31 kB / 3.368 GB, free: 13.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000397/8.275, allocations: 303.2 kB / 3.369 GB, free: 13.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003419/8.276, allocations: 203.5 kB / 3.369 GB, free: 13.01 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/8.276, allocations: 0 / 3.369 GB, free: 13.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003271/8.276, allocations: 378.8 kB / 3.369 GB, free: 12.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/8.277, allocations: 350.9 kB / 3.37 GB, free: 12.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/8.279, allocations: 0.5538 MB / 3.37 GB, free: 11.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003794/8.282, allocations: 0.5296 MB / 3.371 GB, free: 11.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/8.283, allocations: 4 kB / 3.371 GB, free: 11.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.008958/8.291, allocations: 1.598 MB / 3.372 GB, free: 9.879 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00185/8.293, allocations: 2.443 MB / 3.375 GB, free: 7.254 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/8.293, allocations: 4 kB / 3.375 GB, free: 7.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007308/8.301, allocations: 0.8216 MB / 3.375 GB, free: 6.633 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/8.302, allocations: 178.7 kB / 3.376 GB, free: 6.488 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007679/8.31, allocations: 2.067 MB / 3.378 GB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/8.313, allocations: 124.4 kB / 3.378 GB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000377/8.313, allocations: 51.11 kB / 3.378 GB, free: 4.367 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/8.313, allocations: 4 kB / 3.378 GB, free: 4.363 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00715/8.32, allocations: 1.049 MB / 3.379 GB, free: 3.465 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.941e-05/8.321, allocations: 8 kB / 3.379 GB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003404/8.324, allocations: 385.1 kB / 3.379 GB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/8.326, allocations: 206.2 kB / 3.379 GB, free: 3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004662/8.331, allocations: 1.561 MB / 3.381 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/8.333, allocations: 108.3 kB / 3.381 GB, free: 1.387 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000284/8.333, allocations: 35.84 kB / 3.381 GB, free: 1.355 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: 28 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.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 (69): * Single equations (assignments): 67 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0009559/8.334, allocations: 136.8 kB / 3.381 GB, free: 1.215 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002052/8.336, allocations: 285.9 kB / 3.381 GB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2365/8.573, allocations: 3.184 MB / 3.385 GB, free: 92.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-05/8.573, allocations: 29 kB / 3.385 GB, free: 92.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/8.573, allocations: 3.438 kB / 3.385 GB, free: 92.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/8.573, allocations: 3.75 kB / 3.385 GB, free: 92.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006765/8.58, allocations: 4.39 MB / 3.389 GB, free: 91.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/8.58, allocations: 6.703 kB / 3.389 GB, free: 91.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/8.58, allocations: 92.67 kB / 3.389 GB, free: 91.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003208/8.583, allocations: 1.254 MB / 3.39 GB, free: 91.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.937e-05/8.583, allocations: 22.89 kB / 3.39 GB, free: 91.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003032/8.587, allocations: 2.455 MB / 3.393 GB, free: 90.83 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/8.587, allocations: 3.234 kB / 3.393 GB, free: 90.83 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004518/8.591, allocations: 2.71 MB / 3.395 GB, free: 90.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006371/8.592, allocations: 295.8 kB / 3.396 GB, free: 90.42 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/8.592, allocations: 7.281 kB / 3.396 GB, free: 90.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008024/8.593, allocations: 94.19 kB / 3.396 GB, free: 90.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/8.593, allocations: 58.83 kB / 3.396 GB, free: 90.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.332e-05/8.593, allocations: 37.97 kB / 3.396 GB, free: 90.42 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0005287/8.593, allocations: 377.9 kB / 3.396 GB, free: 90.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009208/8.603, allocations: 1.507 MB / 3.398 GB, free: 90.31 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 13,2 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.01264/8.615, allocations: 1.966 MB / 3.399 GB, free: 90.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004118/8.62, allocations: 2.016 MB / 3.401 GB, free: 90.19 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/8.62, allocations: 4.938 kB / 3.401 GB, free: 90.19 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001548/8.621, allocations: 1.244 MB / 3.403 GB, free: 90.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/8.623, allocations: 260.6 kB / 3.403 GB, free: 90.17 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04035/8.663, allocations: 14.81 MB / 3.417 GB, free: 89.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/8.664, allocations: 1.162 MB / 3.418 GB, free: 89.05 MB / 442.7 MB Notification: Performance of SimCode: time 1.904e-06/8.665, allocations: 0 / 3.418 GB, free: 89.05 MB / 442.7 MB Notification: Performance of Templates: time 0.08651/8.751, allocations: 54.68 MB / 3.472 GB, free: 86.76 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1)