Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dp.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.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dp") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dp") [: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.7577/0.7577, allocations: 127.4 MB / 134.6 MB, free: 4.09 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.001329/0.001329, allocations: 185.3 kB / 164.4 MB, free: 6.887 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.692/1.692, allocations: 205.1 MB / 399.1 MB, free: 6.094 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.001032/0.001032, allocations: 93.38 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.605e-06/7.635e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1844, allocations: 76.75 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.924/5.108, allocations: 2.191 GB / 2.812 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/5.109, allocations: 91.94 kB / 2.812 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 6.47/11.58, allocations: 1.635 GB / 4.446 GB, free: 64.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004865/11.58, allocations: 63.45 kB / 4.446 GB, free: 64.68 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 347 * Number of variables: 347 Notification: Performance of Generate backend data structure: time 0.009895/11.59, allocations: 2.532 MB / 4.449 GB, free: 63.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/11.59, allocations: 7.906 kB / 4.449 GB, free: 63.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007855/11.6, allocations: 0.9721 MB / 4.45 GB, free: 63.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009228/11.61, allocations: 2.789 MB / 4.453 GB, free: 62.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/11.61, allocations: 47.47 kB / 4.453 GB, free: 62.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005682/11.61, allocations: 88.91 kB / 4.453 GB, free: 62.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003164/11.61, allocations: 1.253 MB / 4.454 GB, free: 62.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003231/11.61, allocations: 1.419 MB / 4.455 GB, free: 62.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/11.61, allocations: 3.656 kB / 4.455 GB, free: 62.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/11.61, allocations: 2.156 kB / 4.455 GB, free: 62.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-05/11.61, allocations: 51.31 kB / 4.455 GB, free: 62.72 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/11.62, allocations: 7.633 MB / 4.463 GB, free: 58.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/11.63, allocations: 0.9123 MB / 4.464 GB, free: 58.87 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007333/11.63, allocations: 0.5311 MB / 4.464 GB, free: 58.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003015/11.63, allocations: 280.7 kB / 4.464 GB, free: 58.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/11.63, allocations: 43.31 kB / 4.464 GB, free: 58.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 2.675e-06/11.63, allocations: 0 / 4.464 GB, free: 58.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.005268/11.63, allocations: 1.315 MB / 4.466 GB, free: 58.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/11.63, allocations: 63 kB / 4.466 GB, free: 58.31 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/11.63, allocations: 1.301 MB / 4.467 GB, free: 58.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/11.63, allocations: 29.36 kB / 4.467 GB, free: 58.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/11.63, allocations: 0.6259 MB / 4.468 GB, free: 57.74 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/11.63, allocations: 271.5 kB / 4.468 GB, free: 57.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/11.63, allocations: 0 / 4.468 GB, free: 57.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.448e-05/11.63, allocations: 347.4 kB / 4.468 GB, free: 57.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005151/11.64, allocations: 368.7 kB / 4.469 GB, free: 57.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006856/11.64, allocations: 0.7556 MB / 4.469 GB, free: 56.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/11.64, allocations: 0.5231 MB / 4.47 GB, free: 56.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/11.64, allocations: 3.594 kB / 4.47 GB, free: 56.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003916/11.64, allocations: 1.473 MB / 4.471 GB, free: 56.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007698/11.64, allocations: 3.756 MB / 4.475 GB, free: 52.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/11.64, allocations: 6.875 kB / 4.475 GB, free: 52.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000494/11.64, allocations: 154.9 kB / 4.475 GB, free: 52.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/11.64, allocations: 336.3 kB / 4.476 GB, free: 52.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003604/11.65, allocations: 3.441 MB / 4.479 GB, free: 49.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/11.65, allocations: 164.4 kB / 4.479 GB, free: 49.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/11.65, allocations: 61.62 kB / 4.479 GB, free: 49.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/11.65, allocations: 6.562 kB / 4.479 GB, free: 49.75 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002691/11.65, allocations: 1.15 MB / 4.48 GB, free: 49.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/11.65, allocations: 6.312 kB / 4.48 GB, free: 49.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003597/11.65, allocations: 148.7 kB / 4.48 GB, free: 49.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009942/11.66, allocations: 237.4 kB / 4.481 GB, free: 49.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003101/11.66, allocations: 3.027 MB / 4.484 GB, free: 47.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002929/11.66, allocations: 145.7 kB / 4.484 GB, free: 47.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002362/11.66, allocations: 49.94 kB / 4.484 GB, free: 47.09 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.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: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 114 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008754/11.66, allocations: 147 kB / 4.484 GB, free: 46.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009861/11.66, allocations: 183.7 kB / 4.484 GB, free: 46.87 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005014/11.67, allocations: 1.232 MB / 4.485 GB, free: 46.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/11.67, allocations: 7.531 kB / 4.485 GB, free: 46.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/11.67, allocations: 0 / 4.485 GB, free: 46.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003061/11.67, allocations: 1.037 MB / 4.486 GB, free: 46.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00812/11.68, allocations: 2.623 MB / 4.489 GB, free: 46.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/11.68, allocations: 3.906 kB / 4.489 GB, free: 46.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/11.68, allocations: 297.8 kB / 4.489 GB, free: 46.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003974/11.68, allocations: 144.3 kB / 4.489 GB, free: 46.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.932e-05/11.68, allocations: 15.41 kB / 4.489 GB, free: 46.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00683/11.69, allocations: 5.731 MB / 4.495 GB, free: 41.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/11.69, allocations: 7 kB / 4.495 GB, free: 41.22 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004353/11.69, allocations: 1.794 MB / 4.497 GB, free: 40.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/11.7, allocations: 358.2 kB / 4.497 GB, free: 40.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006515/11.7, allocations: 2.75 kB / 4.497 GB, free: 40.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/11.7, allocations: 114.4 kB / 4.497 GB, free: 40.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/11.7, allocations: 51.11 kB / 4.497 GB, free: 40.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/11.7, allocations: 36.12 kB / 4.497 GB, free: 40.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.002063/11.7, allocations: 0.9875 MB / 4.498 GB, free: 40.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00578/11.71, allocations: 1.269 MB / 4.499 GB, free: 40.32 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006103/11.71, allocations: 4.475 MB / 4.504 GB, free: 38.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005125/11.72, allocations: 1.939 MB / 4.506 GB, free: 38.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/11.72, allocations: 3.25 kB / 4.506 GB, free: 38.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002687/11.72, allocations: 0.7693 MB / 4.506 GB, free: 38.01 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00434/11.72, allocations: 0.8506 MB / 4.507 GB, free: 37.97 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006639/11.73, allocations: 2.78 MB / 4.51 GB, free: 37.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/11.73, allocations: 1.775 MB / 4.512 GB, free: 36.52 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/11.73, allocations: 0 / 4.512 GB, free: 36.52 MB / 0.698 GB Notification: Performance of Templates: time 0.1146/11.85, allocations: 61.56 MB / 4.572 GB, free: 21.12 MB / 0.698 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dp.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)