Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") [: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.003901/0.003901, allocations: 175.6 kB / 7.451 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.497/1.497, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001882/0.001883, allocations: 127.8 kB / 217.7 MB, free: 8.145 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.2214/0.2214, allocations: 37.97 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.214e-05/1.217e-05, allocations: 2.875 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1369, allocations: 48.71 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.47/5.607, allocations: 2.501 GB / 2.89 GB, free: 7.074 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/5.607, allocations: 80.7 kB / 2.89 GB, free: 6.996 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.538/7.145, allocations: 422.9 MB / 3.303 GB, free: 51.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.812e-05/7.145, allocations: 21.94 kB / 3.303 GB, free: 51.07 MB / 442.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.006778/7.152, allocations: 1.707 MB / 3.305 GB, free: 50.22 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/7.152, allocations: 7.375 kB / 3.305 GB, free: 50.22 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/7.155, allocations: 336.5 kB / 3.305 GB, free: 50.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/7.156, allocations: 0.5875 MB / 3.306 GB, free: 49.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/7.156, allocations: 23.62 kB / 3.306 GB, free: 49.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/7.156, allocations: 41.08 kB / 3.306 GB, free: 49.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001075/7.157, allocations: 0.5346 MB / 3.306 GB, free: 49.92 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009762/7.158, allocations: 0.6574 MB / 3.307 GB, free: 49.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/7.158, allocations: 0 / 3.307 GB, free: 49.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.768e-05/7.158, allocations: 3.281 kB / 3.307 GB, free: 49.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/7.158, allocations: 25.67 kB / 3.307 GB, free: 49.72 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/7.17, allocations: 7.256 MB / 3.314 GB, free: 44.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/7.17, allocations: 317.1 kB / 3.314 GB, free: 44.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/7.171, allocations: 202 kB / 3.315 GB, free: 44.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1808/7.352, allocations: 78.22 MB / 3.391 GB, free: 7.816 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/7.352, allocations: 38.94 kB / 3.391 GB, free: 7.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=46): time 3.888e-06/7.352, allocations: 3.75 kB / 3.391 GB, free: 7.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=50): time 0.007714/7.359, allocations: 1.807 MB / 3.393 GB, free: 6.207 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/7.359, allocations: 107.9 kB / 3.393 GB, free: 6.078 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009482/7.36, allocations: 395.6 kB / 3.393 GB, free: 5.715 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.184e-05/7.361, allocations: 34.16 kB / 3.393 GB, free: 5.676 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/7.361, allocations: 282 kB / 3.394 GB, free: 5.426 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/7.361, allocations: 169 kB / 3.394 GB, free: 5.273 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/7.361, allocations: 0 / 3.394 GB, free: 5.273 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002153/7.361, allocations: 364.9 kB / 3.394 GB, free: 4.926 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/7.362, allocations: 202.5 kB / 3.394 GB, free: 4.738 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/7.362, allocations: 407.5 kB / 3.395 GB, free: 4.277 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/7.363, allocations: 342.8 kB / 3.395 GB, free: 4.004 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/7.363, allocations: 4 kB / 3.395 GB, free: 4 MB / 458.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003804/7.367, allocations: 1.146 MB / 3.396 GB, free: 3.074 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001274/7.369, allocations: 2.355 MB / 3.398 GB, free: 0.543 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/7.369, allocations: 4 kB / 3.398 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/7.37, allocations: 319.8 kB / 3.399 GB, free: 296 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005712/7.371, allocations: 146.2 kB / 3.399 GB, free: 180 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2215/7.592, allocations: 1.019 MB / 3.4 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/7.593, allocations: 90.78 kB / 3.4 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/7.593, allocations: 36.19 kB / 3.4 GB, free: 104 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/7.593, allocations: 3.5 kB / 3.4 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002473/7.596, allocations: 0.7771 MB / 3.401 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/7.596, allocations: 6.844 kB / 3.401 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/7.597, allocations: 268 kB / 3.401 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/7.598, allocations: 155.2 kB / 3.401 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/7.599, allocations: 0.9003 MB / 3.402 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000731/7.599, allocations: 73.42 kB / 3.402 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.238e-05/7.599, allocations: 37.7 kB / 3.402 GB, free: 103.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002096/7.6, allocations: 121.7 kB / 3.402 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008626/7.601, allocations: 273.5 kB / 3.403 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00326/7.604, allocations: 2.258 MB / 3.405 GB, free: 103.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/7.604, allocations: 21.16 kB / 3.405 GB, free: 103.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/7.604, allocations: 2.5 kB / 3.405 GB, free: 103.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/7.604, allocations: 10.08 kB / 3.405 GB, free: 103.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004036/7.608, allocations: 3.019 MB / 3.408 GB, free: 102.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/7.608, allocations: 0 / 3.408 GB, free: 102.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005554/7.609, allocations: 130.4 kB / 3.408 GB, free: 102.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003033/7.609, allocations: 96.39 kB / 3.408 GB, free: 102.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/7.609, allocations: 14.67 kB / 3.408 GB, free: 102.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00071/7.61, allocations: 1.168 MB / 3.409 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/7.61, allocations: 2.688 kB / 3.409 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003228/7.613, allocations: 2.32 MB / 3.411 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004238/7.613, allocations: 269.6 kB / 3.412 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/7.614, allocations: 3.531 kB / 3.412 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005862/7.614, allocations: 54.69 kB / 3.412 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/7.614, allocations: 61.94 kB / 3.412 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/7.614, allocations: 25.78 kB / 3.412 GB, free: 101.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0004614/7.615, allocations: 377.2 kB / 3.412 GB, free: 101.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007301/7.622, allocations: 1.346 MB / 3.413 GB, free: 101.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 15 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase,Sink.medium.phase,Source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0104/7.633, allocations: 1.88 MB / 3.415 GB, free: 101.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002669/7.635, allocations: 1.413 MB / 3.417 GB, free: 101.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/7.635, allocations: 0 / 3.417 GB, free: 101.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/7.636, allocations: 0.8919 MB / 3.418 GB, free: 101.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/7.638, allocations: 259.5 kB / 3.418 GB, free: 101.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.037/7.675, allocations: 15.64 MB / 3.433 GB, free: 100.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007487/7.676, allocations: 1.133 MB / 3.434 GB, free: 100 MB / 458.7 MB Notification: Performance of SimCode: time 6.11e-07/7.676, allocations: 3.688 kB / 3.434 GB, free: 100 MB / 458.7 MB Notification: Performance of Templates: time 0.05955/7.735, allocations: 43.83 MB / 3.477 GB, free: 98.3 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1)