Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(IDEAS.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction") [: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 4.0.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 180.2 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5961/0.5961, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.139/1.139, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008303/0.0008303, allocations: 100.8 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.561e-06/5.581e-06, allocations: 0 / 0.5528 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 82.3 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7095/0.8141, allocations: 401.2 MB / 1.025 GB, free: 232.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.8144, allocations: 92.19 kB / 1.025 GB, free: 232.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.758/4.573, allocations: 1.521 GB / 2.546 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003403/4.573, allocations: 99.91 kB / 2.546 GB, free: 14.54 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.007012/4.58, allocations: 3.611 MB / 2.549 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/4.58, allocations: 15.95 kB / 2.549 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005733/4.586, allocations: 1.197 MB / 2.55 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3158/4.901, allocations: 28.19 MB / 2.578 GB, free: 83.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/4.902, allocations: 67.94 kB / 2.578 GB, free: 83.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002601/4.902, allocations: 143.3 kB / 2.578 GB, free: 83.91 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002742/4.905, allocations: 1.798 MB / 2.58 GB, free: 83.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/4.907, allocations: 2.168 MB / 2.582 GB, free: 83.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.986e-05/4.907, allocations: 6.469 kB / 2.582 GB, free: 83.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/4.908, allocations: 7.234 kB / 2.582 GB, free: 83.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/4.908, allocations: 47.84 kB / 2.582 GB, free: 83.54 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01217/4.92, allocations: 11.87 MB / 2.594 GB, free: 77.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/4.922, allocations: 1.644 MB / 2.595 GB, free: 77.64 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007984/4.922, allocations: 0.7305 MB / 2.596 GB, free: 77.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004489/4.927, allocations: 3.609 MB / 2.6 GB, free: 75.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/4.927, allocations: 45.97 kB / 2.6 GB, free: 75.94 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=116): time 2.354e-06/4.927, allocations: 1.781 kB / 2.6 GB, free: 75.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=116): time 0.00619/4.933, allocations: 2.502 MB / 2.602 GB, free: 75.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/4.933, allocations: 62.22 kB / 2.602 GB, free: 75.58 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/4.936, allocations: 2.459 MB / 2.605 GB, free: 75.31 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/4.936, allocations: 31.67 kB / 2.605 GB, free: 75.28 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004646/4.936, allocations: 1.008 MB / 2.606 GB, free: 74.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/4.937, allocations: 384.6 kB / 2.606 GB, free: 74.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/4.937, allocations: 0 / 2.606 GB, free: 74.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.097e-05/4.937, allocations: 379.4 kB / 2.606 GB, free: 74.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008807/4.938, allocations: 0.7044 MB / 2.607 GB, free: 74.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/4.939, allocations: 1.448 MB / 2.608 GB, free: 73.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/4.942, allocations: 1.114 MB / 2.609 GB, free: 73.49 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/4.942, allocations: 7.062 kB / 2.609 GB, free: 73.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.006322/4.948, allocations: 3.042 MB / 2.612 GB, free: 73.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001145/4.949, allocations: 7.588 MB / 2.62 GB, free: 65.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/4.949, allocations: 17.31 kB / 2.62 GB, free: 65.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/4.951, allocations: 0.7195 MB / 2.621 GB, free: 65.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/4.952, allocations: 385.1 kB / 2.621 GB, free: 65.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/4.956, allocations: 5.504 MB / 2.626 GB, free: 61.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002679/4.958, allocations: 290.8 kB / 2.627 GB, free: 61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/4.959, allocations: 162 kB / 2.627 GB, free: 61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/4.959, allocations: 2.438 kB / 2.627 GB, free: 61 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005566/4.964, allocations: 2.426 MB / 2.629 GB, free: 60.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/4.964, allocations: 19.69 kB / 2.629 GB, free: 60.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/4.966, allocations: 0.8293 MB / 2.63 GB, free: 60.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/4.967, allocations: 349.9 kB / 2.63 GB, free: 60.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/4.981, allocations: 12.22 MB / 2.642 GB, free: 69.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/4.983, allocations: 235.5 kB / 2.642 GB, free: 69.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/4.984, allocations: 134.3 kB / 2.643 GB, free: 69.15 MB / 0.7448 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_no.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_m_flow.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 172 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004742/4.984, allocations: 177 kB / 2.643 GB, free: 69.05 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003536/4.984, allocations: 328.6 kB / 2.643 GB, free: 68.87 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006816/4.991, allocations: 2.899 MB / 2.646 GB, free: 68.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/4.991, allocations: 22.62 kB / 2.646 GB, free: 68.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/4.991, allocations: 0 / 2.646 GB, free: 68.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/4.991, allocations: 6.891 kB / 2.646 GB, free: 68.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007709/4.999, allocations: 4.575 MB / 2.65 GB, free: 68.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/4.999, allocations: 3.938 kB / 2.65 GB, free: 68.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/5, allocations: 215.4 kB / 2.651 GB, free: 68.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009863/5.001, allocations: 0.5137 MB / 2.651 GB, free: 68.12 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.443e-05/5.001, allocations: 30.41 kB / 2.651 GB, free: 68.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003201/5.004, allocations: 5.073 MB / 2.656 GB, free: 63.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/5.004, allocations: 2.188 kB / 2.656 GB, free: 63.96 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004683/5.009, allocations: 2.482 MB / 2.658 GB, free: 63.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000812/5.01, allocations: 0.5869 MB / 2.659 GB, free: 63.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003978/5.01, allocations: 0 / 2.659 GB, free: 63.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/5.012, allocations: 180.3 kB / 2.659 GB, free: 63.14 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/5.012, allocations: 78.75 kB / 2.659 GB, free: 63.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/5.012, allocations: 79.77 kB / 2.659 GB, free: 63.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.002031/5.014, allocations: 1.836 MB / 2.661 GB, free: 62.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004603/5.019, allocations: 1.829 MB / 2.663 GB, free: 62.87 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002512/5.021, allocations: 2.259 MB / 2.665 GB, free: 62.37 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004549/5.026, allocations: 3.519 MB / 2.669 GB, free: 61.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/5.026, allocations: 2.375 kB / 2.669 GB, free: 61.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/5.027, allocations: 0.8158 MB / 2.669 GB, free: 61.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004258/5.032, allocations: 1.354 MB / 2.671 GB, free: 61.87 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006564/5.038, allocations: 4.499 MB / 2.675 GB, free: 60.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001937/5.04, allocations: 2.527 MB / 2.678 GB, free: 59.98 MB / 0.7448 GB Notification: Performance of SimCode: time 2.8e-07/5.04, allocations: 2.188 kB / 2.678 GB, free: 59.98 MB / 0.7448 GB Notification: Performance of Templates: time 0.1065/5.147, allocations: 85.34 MB / 2.761 GB, free: 55.16 MB / 0.7448 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)