Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverContinuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverContinuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverContinuous") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverContinuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6924/0.6924, allocations: 127.4 MB / 134.6 MB, free: 4.102 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001299/0.001298, allocations: 185.3 kB / 164.4 MB, free: 6.91 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.1 MB / 399.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001002, allocations: 86.67 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.246e-06/8.276e-06, allocations: 0 / 0.546 GB, free: 42.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1837, allocations: 76.76 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.138/1.322, allocations: 404.4 MB / 1.016 GB, free: 79.01 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/1.322, allocations: 93.12 kB / 1.016 GB, free: 78.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 8.225/9.548, allocations: 2.246 GB / 3.262 GB, free: 54.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001123/9.549, allocations: 107.3 kB / 3.262 GB, free: 54.25 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01596/9.565, allocations: 3.855 MB / 3.266 GB, free: 52.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/9.565, allocations: 10.44 kB / 3.266 GB, free: 52.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/9.576, allocations: 1.439 MB / 3.268 GB, free: 52.28 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08593/9.662, allocations: 30.43 MB / 3.297 GB, free: 50.49 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002459/9.662, allocations: 62.75 kB / 3.297 GB, free: 50.49 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001351/9.663, allocations: 133.7 kB / 3.297 GB, free: 50.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005639/9.669, allocations: 2.169 MB / 3.3 GB, free: 50.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00419/9.673, allocations: 2.385 MB / 3.302 GB, free: 50.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.572e-05/9.673, allocations: 5.062 kB / 3.302 GB, free: 50.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/9.673, allocations: 6.516 kB / 3.302 GB, free: 50.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-05/9.673, allocations: 48.25 kB / 3.302 GB, free: 50.17 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02657/9.7, allocations: 13.8 MB / 3.315 GB, free: 44.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/9.703, allocations: 2.053 MB / 3.317 GB, free: 44.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/9.704, allocations: 0.8827 MB / 3.318 GB, free: 44.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003324/9.704, allocations: 357.2 kB / 3.319 GB, free: 43.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/9.704, allocations: 44.47 kB / 3.319 GB, free: 43.78 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 2.925e-06/9.704, allocations: 0 / 3.319 GB, free: 43.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.006534/9.711, allocations: 2.582 MB / 3.321 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/9.711, allocations: 61.88 kB / 3.321 GB, free: 43.42 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009935/9.721, allocations: 4.671 MB / 3.326 GB, free: 43.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0008353/9.722, allocations: 29.52 kB / 3.326 GB, free: 43.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/9.723, allocations: 1.134 MB / 3.327 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004729/9.723, allocations: 277.2 kB / 3.327 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/9.723, allocations: 2.406 kB / 3.327 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001519/9.724, allocations: 385 kB / 3.328 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/9.725, allocations: 1.044 MB / 3.329 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/9.727, allocations: 1.987 MB / 3.331 GB, free: 40.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00382/9.731, allocations: 1.488 MB / 3.332 GB, free: 40.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-05/9.731, allocations: 10.41 kB / 3.332 GB, free: 40.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.01019/9.741, allocations: 3.717 MB / 3.336 GB, free: 40.53 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.004046/9.745, allocations: 12.95 MB / 3.348 GB, free: 26.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/9.745, allocations: 28.47 kB / 3.348 GB, free: 26.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/9.747, allocations: 332.7 kB / 3.349 GB, free: 26.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004608/9.751, allocations: 0.5739 MB / 3.349 GB, free: 26.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006551/9.758, allocations: 6.165 MB / 3.355 GB, free: 38.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004573/9.762, allocations: 305.1 kB / 3.355 GB, free: 38.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006873/9.763, allocations: 210.5 kB / 3.356 GB, free: 38.01 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/9.763, allocations: 3.75 kB / 3.356 GB, free: 38.01 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007504/9.771, allocations: 2.824 MB / 3.358 GB, free: 37.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.003e-05/9.771, allocations: 31.86 kB / 3.358 GB, free: 37.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007531/9.771, allocations: 338.6 kB / 3.359 GB, free: 37.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/9.774, allocations: 0.5867 MB / 3.359 GB, free: 37.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/9.777, allocations: 2.613 MB / 3.362 GB, free: 35.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004225/9.781, allocations: 226.5 kB / 3.362 GB, free: 35.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004192/9.781, allocations: 203 kB / 3.362 GB, free: 35.76 MB / 0.7292 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 (205): * Single equations (assignments): 193 * 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.0009501/9.782, allocations: 184.4 kB / 3.363 GB, free: 35.64 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/9.783, allocations: 393.7 kB / 3.363 GB, free: 35.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007684/9.791, allocations: 2.711 MB / 3.366 GB, free: 35.24 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/9.791, allocations: 9.781 kB / 3.366 GB, free: 35.24 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/9.791, allocations: 7.625 kB / 3.366 GB, free: 35.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/9.791, allocations: 7.219 kB / 3.366 GB, free: 35.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006292/9.798, allocations: 2.889 MB / 3.368 GB, free: 35.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/9.798, allocations: 3.906 kB / 3.368 GB, free: 35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/9.8, allocations: 268.5 kB / 3.369 GB, free: 35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008995/9.801, allocations: 408 kB / 3.369 GB, free: 34.96 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/9.801, allocations: 23.77 kB / 3.369 GB, free: 34.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005871/9.807, allocations: 5.822 MB / 3.375 GB, free: 30 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/9.807, allocations: 6.5 kB / 3.375 GB, free: 30 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006222/9.813, allocations: 2.218 MB / 3.377 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003518/9.816, allocations: 0.9064 MB / 3.378 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/9.818, allocations: 3.234 kB / 3.378 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002466/9.82, allocations: 139.6 kB / 3.378 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/9.82, allocations: 58.88 kB / 3.378 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001702/9.82, allocations: 74.77 kB / 3.378 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.00673/9.827, allocations: 3.514 MB / 3.381 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01006/9.837, allocations: 1.812 MB / 3.383 GB, free: 28.78 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 1,1 4,1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004029/9.841, allocations: 2.03 MB / 3.385 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.009757/9.851, allocations: 3.97 MB / 3.389 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/9.851, allocations: 2.438 kB / 3.389 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002504/9.854, allocations: 0.8049 MB / 3.39 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01043/9.864, allocations: 1.812 MB / 3.392 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/9.881, allocations: 5.504 MB / 3.397 GB, free: 26.83 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004913/9.886, allocations: 2.977 MB / 3.4 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of SimCode: time 1.643e-06/9.886, allocations: 0 / 3.4 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of Templates: time 0.7226/10.61, allocations: 103.9 MB / 3.501 GB, free: 121.9 MB / 0.7292 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverContinuous.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverContinuous.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverContinuous.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverContinuous.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverContinuous.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverContinuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverContinuous.pipe 2>&1)