Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.001734/0.001734, allocations: 195.2 kB / 7.469 MB, free: 1.531 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.06/1.06, allocations: 194.2 MB / 202.1 MB, free: 14.38 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001685/0.001685, allocations: 118.5 kB / 247.1 MB, free: 0.5078 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1624/0.1624, allocations: 39.94 MB / 331.9 MB, free: 11.56 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 8.035e-06/8.065e-06, allocations: 4 kB / 392.8 MB, free: 48.34 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/0.0886, allocations: 54.86 MB / 447.7 MB, free: 9.398 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.984/5.072, allocations: 2.612 GB / 3.049 GB, free: 36.97 MB / 482.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/5.073, allocations: 83.95 kB / 3.049 GB, free: 36.89 MB / 482.8 MB Notification: Performance of FrontEnd: time 1.55/6.622, allocations: 433.7 MB / 3.473 GB, free: 51.3 MB / 482.8 MB Notification: Performance of Transformations before backend: time 4.288e-05/6.622, allocations: 18 kB / 3.473 GB, free: 51.3 MB / 482.8 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.005439/6.628, allocations: 1.755 MB / 3.474 GB, free: 50.6 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/6.628, allocations: 11.22 kB / 3.474 GB, free: 50.6 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002398/6.63, allocations: 354.1 kB / 3.475 GB, free: 50.55 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009133/6.631, allocations: 0.5837 MB / 3.475 GB, free: 50.32 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/6.631, allocations: 26.06 kB / 3.475 GB, free: 50.32 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.698e-05/6.631, allocations: 36.22 kB / 3.475 GB, free: 50.32 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008048/6.632, allocations: 0.5345 MB / 3.476 GB, free: 50.32 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008302/6.633, allocations: 0.6568 MB / 3.476 GB, free: 50.13 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/6.633, allocations: 2.625 kB / 3.476 GB, free: 50.13 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.804e-05/6.633, allocations: 3.438 kB / 3.476 GB, free: 50.13 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/6.633, allocations: 18.66 kB / 3.477 GB, free: 50.13 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009274/6.642, allocations: 7.31 MB / 3.484 GB, free: 45.25 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/6.643, allocations: 306.1 kB / 3.484 GB, free: 45.23 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/6.643, allocations: 206 kB / 3.484 GB, free: 45.23 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1555/6.799, allocations: 78.23 MB / 3.561 GB, free: 17.84 MB / 498.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/6.799, allocations: 38.56 kB / 3.561 GB, free: 17.8 MB / 498.8 MB Notification: Performance of pre-optimization done (n=46): time 2.424e-06/6.799, allocations: 0 / 3.561 GB, free: 17.8 MB / 498.8 MB Notification: Performance of matching and sorting (n=50): time 0.006141/6.805, allocations: 1.81 MB / 3.562 GB, free: 17.38 MB / 498.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/6.805, allocations: 111 kB / 3.562 GB, free: 17.26 MB / 498.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/6.805, allocations: 389.2 kB / 3.563 GB, free: 17.14 MB / 498.8 MB Notification: Performance of collectPreVariables (initialization): time 5.358e-05/6.806, allocations: 25.7 kB / 3.563 GB, free: 17.11 MB / 498.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/6.806, allocations: 296.4 kB / 3.563 GB, free: 16.91 MB / 498.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/6.806, allocations: 161.9 kB / 3.563 GB, free: 16.8 MB / 498.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/6.806, allocations: 0 / 3.563 GB, free: 16.8 MB / 498.8 MB Notification: Performance of setup shared object (initialization): time 0.0001385/6.806, allocations: 372.1 kB / 3.564 GB, free: 16.48 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/6.806, allocations: 201 kB / 3.564 GB, free: 16.48 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/6.807, allocations: 403.6 kB / 3.564 GB, free: 16.24 MB / 498.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/6.808, allocations: 348.5 kB / 3.565 GB, free: 16.23 MB / 498.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/6.808, allocations: 3.281 kB / 3.565 GB, free: 16.23 MB / 498.8 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003193/6.811, allocations: 1.149 MB / 3.566 GB, free: 16.14 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009268/6.812, allocations: 2.35 MB / 3.568 GB, free: 29.67 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/6.812, allocations: 3.75 kB / 3.568 GB, free: 29.67 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/6.813, allocations: 327 kB / 3.568 GB, free: 29.65 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/6.814, allocations: 141 kB / 3.568 GB, free: 29.65 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/6.815, allocations: 1.021 MB / 3.569 GB, free: 29.12 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008016/6.816, allocations: 83.8 kB / 3.569 GB, free: 29.11 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/6.816, allocations: 38 kB / 3.57 GB, free: 29.11 MB / 0.5027 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/6.816, allocations: 2.469 kB / 3.57 GB, free: 29.11 MB / 0.5027 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002131/6.818, allocations: 0.7786 MB / 3.57 GB, free: 29.08 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/6.818, allocations: 9.594 kB / 3.57 GB, free: 29.07 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/6.819, allocations: 262.6 kB / 3.571 GB, free: 29.06 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/6.82, allocations: 163.8 kB / 3.571 GB, free: 29.05 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/6.821, allocations: 0.9005 MB / 3.572 GB, free: 28.52 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007421/6.822, allocations: 78.44 kB / 3.572 GB, free: 28.51 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-05/6.822, allocations: 37.03 kB / 3.572 GB, free: 28.51 MB / 0.5027 GB 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.0002541/6.822, allocations: 127.1 kB / 3.572 GB, free: 28.39 MB / 0.5027 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008604/6.823, allocations: 270.9 kB / 3.572 GB, free: 28.37 MB / 0.5027 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/6.826, allocations: 2.257 MB / 3.574 GB, free: 28.14 MB / 0.5027 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.213e-05/6.826, allocations: 24.42 kB / 3.574 GB, free: 28.14 MB / 0.5027 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/6.826, allocations: 0 / 3.574 GB, free: 28.14 MB / 0.5027 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/6.826, allocations: 0 / 3.574 GB, free: 28.14 MB / 0.5027 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004377/6.831, allocations: 3.027 MB / 3.577 GB, free: 27.75 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/6.831, allocations: 0 / 3.577 GB, free: 27.75 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/6.831, allocations: 129.7 kB / 3.577 GB, free: 27.75 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002987/6.831, allocations: 99.5 kB / 3.577 GB, free: 27.73 MB / 0.5027 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/6.832, allocations: 13.89 kB / 3.577 GB, free: 27.73 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000938/6.832, allocations: 1.17 MB / 3.579 GB, free: 26.68 MB / 0.5027 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/6.833, allocations: 2.531 kB / 3.579 GB, free: 26.68 MB / 0.5027 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003168/6.836, allocations: 2.322 MB / 3.581 GB, free: 26.34 MB / 0.5027 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004084/6.836, allocations: 266 kB / 3.581 GB, free: 26.19 MB / 0.5027 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/6.836, allocations: 3.375 kB / 3.581 GB, free: 26.19 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005729/6.837, allocations: 65.77 kB / 3.581 GB, free: 26.18 MB / 0.5027 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/6.837, allocations: 53.11 kB / 3.581 GB, free: 26.18 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/6.837, allocations: 23.5 kB / 3.581 GB, free: 26.18 MB / 0.5027 GB Notification: Performance of sort global known variables: time 0.0004061/6.837, allocations: 375.9 kB / 3.582 GB, free: 26.08 MB / 0.5027 GB Notification: Performance of remove unused functions: time 0.005934/6.843, allocations: 1.357 MB / 3.583 GB, free: 25.88 MB / 0.5027 GB 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.008801/6.852, allocations: 1.886 MB / 3.585 GB, free: 25.48 MB / 0.5027 GB Notification: Performance of simCode: created initialization part: time 0.002382/6.855, allocations: 1.408 MB / 3.586 GB, free: 25.45 MB / 0.5027 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/6.855, allocations: 0 / 3.586 GB, free: 25.45 MB / 0.5027 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/6.856, allocations: 0.8967 MB / 3.587 GB, free: 25.44 MB / 0.5027 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/6.857, allocations: 252.8 kB / 3.587 GB, free: 25.42 MB / 0.5027 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04799/6.905, allocations: 16.11 MB / 3.603 GB, free: 23.14 MB / 0.5027 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007318/6.906, allocations: 1.124 MB / 3.604 GB, free: 22.14 MB / 0.5027 GB Notification: Performance of SimCode: time 1.673e-06/6.906, allocations: 0 / 3.604 GB, free: 22.14 MB / 0.5027 GB Notification: Performance of Templates: time 0.288/7.194, allocations: 44.09 MB / 3.647 GB, free: 119.9 MB / 0.5027 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1)