Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverContinuous.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.MoverContinuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverContinuous") translateModel(IDEAS.Fluid.Movers.Examples.MoverContinuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverContinuous") [: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.002238/0.002238, allocations: 184.6 kB / 7.463 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.6083/0.6083, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.116/1.116, allocations: 221.3 MB / 395 MB, free: 10.27 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.0008887/0.0008888, allocations: 103.5 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.67e-06, allocations: 0 / 0.5528 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1055, allocations: 82.3 MB / 0.6332 GB, free: 14.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7269/0.8324, allocations: 402.5 MB / 1.026 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001688/0.8326, allocations: 92.39 kB / 1.026 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.998/6.831, allocations: 2.364 GB / 3.391 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003763/6.831, allocations: 103.9 kB / 3.391 GB, free: 13.57 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.005668/6.837, allocations: 3.877 MB / 3.395 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/6.837, allocations: 11.97 kB / 3.395 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005663/6.842, allocations: 1.262 MB / 3.396 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2905/7.133, allocations: 31.73 MB / 3.427 GB, free: 99.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/7.133, allocations: 64.94 kB / 3.427 GB, free: 99.7 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003146/7.133, allocations: 141.3 kB / 3.427 GB, free: 99.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002978/7.136, allocations: 2.164 MB / 3.429 GB, free: 99.69 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/7.139, allocations: 2.398 MB / 3.431 GB, free: 99.37 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/7.139, allocations: 3.75 kB / 3.431 GB, free: 99.37 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/7.139, allocations: 4.969 kB / 3.432 GB, free: 99.37 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/7.139, allocations: 47 kB / 3.432 GB, free: 99.37 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01496/7.154, allocations: 12.72 MB / 3.444 GB, free: 94.83 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/7.157, allocations: 2.053 MB / 3.446 GB, free: 94.8 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008707/7.157, allocations: 0.9234 MB / 3.447 GB, free: 94.79 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005841/7.163, allocations: 5.071 MB / 3.452 GB, free: 92.95 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/7.163, allocations: 41.44 kB / 3.452 GB, free: 92.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=88): time 3.026e-06/7.163, allocations: 2.094 kB / 3.452 GB, free: 92.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88): time 0.006129/7.169, allocations: 2.763 MB / 3.455 GB, free: 92.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/7.169, allocations: 58.06 kB / 3.455 GB, free: 92.53 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005901/7.175, allocations: 4.673 MB / 3.459 GB, free: 92.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001826/7.176, allocations: 29.17 kB / 3.459 GB, free: 92.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005944/7.176, allocations: 1.131 MB / 3.46 GB, free: 91.8 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/7.177, allocations: 298.2 kB / 3.461 GB, free: 91.65 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/7.177, allocations: 0 / 3.461 GB, free: 91.65 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.625e-05/7.177, allocations: 387 kB / 3.461 GB, free: 91.35 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/7.178, allocations: 1.042 MB / 3.462 GB, free: 91.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/7.179, allocations: 2.022 MB / 3.464 GB, free: 90.1 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/7.182, allocations: 1.496 MB / 3.465 GB, free: 90.08 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/7.182, allocations: 7.562 kB / 3.465 GB, free: 90.08 MB / 0.7448 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005791/7.188, allocations: 3.611 MB / 3.469 GB, free: 89.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001586/7.19, allocations: 12.96 MB / 3.482 GB, free: 75.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.64e-05/7.19, allocations: 35.45 kB / 3.482 GB, free: 75.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006937/7.19, allocations: 328.8 kB / 3.482 GB, free: 75.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002801/7.193, allocations: 0.5393 MB / 3.482 GB, free: 75.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003905/7.197, allocations: 6.135 MB / 3.488 GB, free: 71.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/7.2, allocations: 303.1 kB / 3.489 GB, free: 71.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002569/7.2, allocations: 210.6 kB / 3.489 GB, free: 71.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/7.2, allocations: 3.594 kB / 3.489 GB, free: 71.32 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004662/7.205, allocations: 2.71 MB / 3.492 GB, free: 71.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/7.205, allocations: 30.53 kB / 3.492 GB, free: 71.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005816/7.206, allocations: 335.6 kB / 3.492 GB, free: 71.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/7.208, allocations: 0.5825 MB / 3.493 GB, free: 71.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/7.209, allocations: 2.607 MB / 3.495 GB, free: 69.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/7.211, allocations: 240 kB / 3.495 GB, free: 69.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/7.212, allocations: 202.2 kB / 3.495 GB, free: 69.1 MB / 0.7448 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: 126 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (207): * Single equations (assignments): 195 * 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.0004143/7.212, allocations: 202.8 kB / 3.496 GB, free: 68.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004357/7.212, allocations: 395.4 kB / 3.496 GB, free: 68.76 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006337/7.219, allocations: 2.847 MB / 3.499 GB, free: 68.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/7.219, allocations: 15.09 kB / 3.499 GB, free: 68.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/7.219, allocations: 2.25 kB / 3.499 GB, free: 68.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/7.219, allocations: 10.8 kB / 3.499 GB, free: 68.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009101/7.228, allocations: 5.643 MB / 3.504 GB, free: 68.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/7.228, allocations: 4.875 kB / 3.504 GB, free: 68.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/7.229, allocations: 225.7 kB / 3.505 GB, free: 68.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007244/7.23, allocations: 403.5 kB / 3.505 GB, free: 68.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.758e-05/7.23, allocations: 29.23 kB / 3.505 GB, free: 68.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002374/7.232, allocations: 5.116 MB / 3.51 GB, free: 63.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/7.232, allocations: 3.969 kB / 3.51 GB, free: 63.8 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005221/7.238, allocations: 2.569 MB / 3.513 GB, free: 63.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/7.239, allocations: 0.8984 MB / 3.513 GB, free: 62.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005685/7.24, allocations: 11.42 kB / 3.513 GB, free: 62.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/7.241, allocations: 143.4 kB / 3.514 GB, free: 62.83 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/7.242, allocations: 76.67 kB / 3.514 GB, free: 62.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/7.242, allocations: 76.19 kB / 3.514 GB, free: 62.83 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.003915/7.246, allocations: 3.489 MB / 3.517 GB, free: 62.65 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004362/7.25, allocations: 1.862 MB / 3.519 GB, free: 62.45 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * 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 4,1 4,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002161/7.252, allocations: 2.019 MB / 3.521 GB, free: 61.96 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006113/7.258, allocations: 3.993 MB / 3.525 GB, free: 61.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/7.258, allocations: 1.312 kB / 3.525 GB, free: 61.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/7.259, allocations: 0.8137 MB / 3.526 GB, free: 61.9 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005797/7.265, allocations: 1.829 MB / 3.527 GB, free: 61.87 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008777/7.274, allocations: 5.625 MB / 3.533 GB, free: 60.55 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002851/7.277, allocations: 3.005 MB / 3.536 GB, free: 75.76 MB / 0.7605 GB Notification: Performance of SimCode: time 5.31e-07/7.277, allocations: 1.406 kB / 3.536 GB, free: 75.76 MB / 0.7605 GB Notification: Performance of Templates: time 0.1348/7.412, allocations: 103.9 MB / 3.637 GB, free: 69.99 MB / 0.7605 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverContinuous.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverContinuous.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverContinuous.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverContinuous.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverContinuous.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverContinuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverContinuous.pipe 2>&1)