Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.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.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages") translateModel(IDEAS.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages") [: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.002157/0.002157, allocations: 183.4 kB / 7.461 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.64 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.132/1.132, allocations: 221.3 MB / 395 MB, free: 10.09 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.0008359/0.0008359, allocations: 98.02 kB / 477.8 MB, free: 10.72 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.51e-06/5.54e-06, allocations: 3.156 kB / 0.5528 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 82.3 MB / 0.6332 GB, free: 13.94 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7293/0.8341, allocations: 406.4 MB / 1.03 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.8344, allocations: 95.52 kB / 1.03 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.025/6.86, allocations: 2.37 GB / 3.401 GB, free: 18.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004928/6.86, allocations: 111.9 kB / 3.401 GB, free: 18.14 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.006797/6.867, allocations: 4.061 MB / 3.405 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/6.867, allocations: 11.97 kB / 3.405 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005745/6.873, allocations: 1.281 MB / 3.406 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.341/7.214, allocations: 31.88 MB / 3.437 GB, free: 114.2 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.215e-05/7.214, allocations: 66.31 kB / 3.437 GB, free: 114.2 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003925/7.214, allocations: 148.4 kB / 3.437 GB, free: 114.2 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003225/7.218, allocations: 2.286 MB / 3.439 GB, free: 114.2 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003266/7.221, allocations: 2.537 MB / 3.442 GB, free: 113.8 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/7.221, allocations: 3.156 kB / 3.442 GB, free: 113.8 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/7.221, allocations: 3.844 kB / 3.442 GB, free: 113.8 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/7.221, allocations: 47.06 kB / 3.442 GB, free: 113.8 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01599/7.237, allocations: 13.08 MB / 3.455 GB, free: 109.4 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/7.239, allocations: 2.126 MB / 3.457 GB, free: 109.3 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009246/7.24, allocations: 0.9601 MB / 3.458 GB, free: 109.3 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006078/7.246, allocations: 5.16 MB / 3.463 GB, free: 107.5 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001174/7.247, allocations: 1.133 MB / 3.464 GB, free: 107.4 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=92): time 2.445e-06/7.247, allocations: 0 / 3.464 GB, free: 107.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=92): time 0.006631/7.254, allocations: 2.874 MB / 3.467 GB, free: 107.1 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/7.254, allocations: 124.4 kB / 3.467 GB, free: 107 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006316/7.26, allocations: 4.863 MB / 3.472 GB, free: 106.7 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001929/7.261, allocations: 29.39 kB / 3.472 GB, free: 106.6 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008465/7.262, allocations: 1.179 MB / 3.473 GB, free: 106.2 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/7.262, allocations: 308 kB / 3.473 GB, free: 106.1 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/7.262, allocations: 0 / 3.473 GB, free: 106.1 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/7.262, allocations: 385.8 kB / 3.473 GB, free: 105.8 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/7.263, allocations: 1.077 MB / 3.474 GB, free: 105.7 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/7.265, allocations: 2.127 MB / 3.477 GB, free: 104.4 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003258/7.268, allocations: 1.532 MB / 3.478 GB, free: 104.4 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/7.268, allocations: 12.41 kB / 3.478 GB, free: 104.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006565/7.275, allocations: 3.713 MB / 3.482 GB, free: 104.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.002017/7.277, allocations: 13.58 MB / 3.495 GB, free: 89.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/7.277, allocations: 27.19 kB / 3.495 GB, free: 89.62 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007263/7.278, allocations: 342.9 kB / 3.495 GB, free: 89.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/7.281, allocations: 0.5488 MB / 3.496 GB, free: 89.58 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004229/7.285, allocations: 6.14 MB / 3.502 GB, free: 85.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003204/7.288, allocations: 295.9 kB / 3.502 GB, free: 85.09 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002675/7.288, allocations: 216 kB / 3.502 GB, free: 85.09 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.164e-06/7.288, allocations: 7.188 kB / 3.502 GB, free: 85.09 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005055/7.293, allocations: 2.791 MB / 3.505 GB, free: 85.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/7.293, allocations: 31.19 kB / 3.505 GB, free: 85.04 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006252/7.294, allocations: 332.2 kB / 3.505 GB, free: 85 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/7.296, allocations: 0.5958 MB / 3.506 GB, free: 85 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/7.298, allocations: 2.607 MB / 3.509 GB, free: 82.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/7.3, allocations: 233 kB / 3.509 GB, free: 82.88 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/7.301, allocations: 200.9 kB / 3.509 GB, free: 82.88 MB / 0.7605 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_Nrpm.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: pump_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: pump_y.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: pump_m_flow.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: 131 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 205 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005556/7.301, allocations: 207.7 kB / 3.509 GB, free: 82.77 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005757/7.302, allocations: 410.7 kB / 3.51 GB, free: 82.54 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007094/7.309, allocations: 2.884 MB / 3.512 GB, free: 82.38 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/7.309, allocations: 19.25 kB / 3.512 GB, free: 82.38 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/7.309, allocations: 0 / 3.512 GB, free: 82.38 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/7.309, allocations: 12.8 kB / 3.512 GB, free: 82.38 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/7.32, allocations: 5.824 MB / 3.518 GB, free: 81.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/7.32, allocations: 3.094 kB / 3.518 GB, free: 81.92 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/7.321, allocations: 227.5 kB / 3.518 GB, free: 81.92 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007525/7.322, allocations: 401.8 kB / 3.519 GB, free: 81.87 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/7.322, allocations: 35.48 kB / 3.519 GB, free: 81.87 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002525/7.325, allocations: 5.12 MB / 3.524 GB, free: 77.58 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/7.325, allocations: 0 / 3.524 GB, free: 77.58 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004836/7.33, allocations: 2.602 MB / 3.526 GB, free: 76.93 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/7.331, allocations: 0.93 MB / 3.527 GB, free: 76.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009302/7.332, allocations: 3.875 kB / 3.527 GB, free: 76.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002247/7.335, allocations: 137.3 kB / 3.527 GB, free: 76.6 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/7.335, allocations: 86.41 kB / 3.527 GB, free: 76.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/7.335, allocations: 86.45 kB / 3.527 GB, free: 76.59 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.005224/7.34, allocations: 3.617 MB / 3.531 GB, free: 76.41 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.005974/7.346, allocations: 1.949 MB / 3.533 GB, free: 76.32 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 4,1 4,1 1,1 4,1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003344/7.349, allocations: 2.242 MB / 3.535 GB, free: 75.85 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006878/7.356, allocations: 4.156 MB / 3.539 GB, free: 75.79 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/7.356, allocations: 0 / 3.539 GB, free: 75.79 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/7.358, allocations: 0.8667 MB / 3.54 GB, free: 75.78 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006725/7.364, allocations: 1.853 MB / 3.542 GB, free: 75.75 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/7.376, allocations: 5.877 MB / 3.548 GB, free: 74.39 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003343/7.379, allocations: 3.122 MB / 3.551 GB, free: 73.61 MB / 0.7605 GB Notification: Performance of SimCode: time 6.71e-07/7.379, allocations: 7.047 kB / 3.551 GB, free: 73.61 MB / 0.7605 GB Notification: Performance of Templates: time 0.1423/7.521, allocations: 107.1 MB / 3.655 GB, free: 67.83 MB / 0.7605 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.pipe 2>&1)