Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow") [: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.7072/0.7072, allocations: 127.4 MB / 134.6 MB, free: 4.059 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.00118/0.001181, allocations: 185.2 kB / 164.4 MB, free: 6.871 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.664/1.664, allocations: 205.1 MB / 399.1 MB, free: 6.121 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.0009479/0.000948, allocations: 91 kB / 476.3 MB, free: 8.879 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.061e-05/1.063e-05, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1718, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.902/5.074, allocations: 2.19 GB / 2.811 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/5.075, allocations: 93.77 kB / 2.811 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 6.527/11.6, allocations: 1.634 GB / 4.446 GB, free: 64.31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005752/11.6, allocations: 61.06 kB / 4.446 GB, free: 64.3 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.01091/11.61, allocations: 2.514 MB / 4.448 GB, free: 63.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/11.61, allocations: 7.812 kB / 4.448 GB, free: 63.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007995/11.62, allocations: 0.971 MB / 4.449 GB, free: 63.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/11.63, allocations: 2.783 MB / 4.452 GB, free: 62.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/11.63, allocations: 43.88 kB / 4.452 GB, free: 62.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007347/11.63, allocations: 85.78 kB / 4.452 GB, free: 62.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003715/11.64, allocations: 1.237 MB / 4.453 GB, free: 62.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004303/11.64, allocations: 1.414 MB / 4.455 GB, free: 62.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.345e-05/11.64, allocations: 2.906 kB / 4.455 GB, free: 62.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002843/11.64, allocations: 3.594 kB / 4.455 GB, free: 62.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.492e-05/11.64, allocations: 54.92 kB / 4.455 GB, free: 62.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01532/11.66, allocations: 7.593 MB / 4.462 GB, free: 58.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/11.66, allocations: 0.8829 MB / 4.463 GB, free: 58.49 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009468/11.66, allocations: 0.5345 MB / 4.463 GB, free: 58.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003713/11.66, allocations: 275.2 kB / 4.464 GB, free: 58.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.101e-05/11.66, allocations: 44.91 kB / 4.464 GB, free: 58.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=77): time 3.427e-06/11.66, allocations: 0 / 4.464 GB, free: 58.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=77): time 0.005195/11.67, allocations: 1.204 MB / 4.465 GB, free: 58.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/11.67, allocations: 63.23 kB / 4.465 GB, free: 57.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003519/11.67, allocations: 1.293 MB / 4.466 GB, free: 57.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002107/11.67, allocations: 29.61 kB / 4.466 GB, free: 57.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000712/11.67, allocations: 0.6286 MB / 4.467 GB, free: 57.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003707/11.67, allocations: 261.8 kB / 4.467 GB, free: 57.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.65e-05/11.67, allocations: 2.625 kB / 4.467 GB, free: 57.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000126/11.67, allocations: 342.3 kB / 4.467 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006909/11.67, allocations: 363.4 kB / 4.468 GB, free: 56.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008605/11.67, allocations: 0.7544 MB / 4.469 GB, free: 56.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/11.67, allocations: 0.5144 MB / 4.469 GB, free: 56.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/11.67, allocations: 3.25 kB / 4.469 GB, free: 56.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00372/11.68, allocations: 1.354 MB / 4.47 GB, free: 56.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001134/11.68, allocations: 3.754 MB / 4.474 GB, free: 52.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.766e-05/11.68, allocations: 11.42 kB / 4.474 GB, free: 52.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000505/11.68, allocations: 112.9 kB / 4.474 GB, free: 52.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/11.68, allocations: 306.6 kB / 4.474 GB, free: 52.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/11.68, allocations: 2.24 MB / 4.477 GB, free: 50.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002519/11.69, allocations: 164.7 kB / 4.477 GB, free: 50.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/11.69, allocations: 68.69 kB / 4.477 GB, free: 50.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/11.69, allocations: 2.094 kB / 4.477 GB, free: 50.52 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003094/11.69, allocations: 1.035 MB / 4.478 GB, free: 50.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-05/11.69, allocations: 10.52 kB / 4.478 GB, free: 50.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003433/11.69, allocations: 103.8 kB / 4.478 GB, free: 50.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/11.69, allocations: 247.7 kB / 4.478 GB, free: 50.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/11.69, allocations: 1.635 MB / 4.48 GB, free: 49.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/11.7, allocations: 140.1 kB / 4.48 GB, free: 49.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/11.7, allocations: 52.88 kB / 4.48 GB, free: 49.24 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 (121): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005657/11.7, allocations: 133.8 kB / 4.48 GB, free: 49.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007349/11.7, allocations: 189.1 kB / 4.48 GB, free: 49.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00371/11.7, allocations: 1.104 MB / 4.481 GB, free: 48.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/11.7, allocations: 8.562 kB / 4.481 GB, free: 48.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/11.7, allocations: 4.094 kB / 4.481 GB, free: 48.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002171/11.7, allocations: 0.927 MB / 4.482 GB, free: 48.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008304/11.71, allocations: 2.499 MB / 4.485 GB, free: 48.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/11.71, allocations: 0 / 4.485 GB, free: 48.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/11.71, allocations: 254.2 kB / 4.485 GB, free: 48.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004156/11.71, allocations: 102.7 kB / 4.485 GB, free: 48.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/11.71, allocations: 17.16 kB / 4.485 GB, free: 48.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00452/11.72, allocations: 2.913 MB / 4.488 GB, free: 45.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/11.72, allocations: 11.5 kB / 4.488 GB, free: 45.93 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004054/11.72, allocations: 1.669 MB / 4.49 GB, free: 45.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/11.72, allocations: 344.7 kB / 4.49 GB, free: 45.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007944/11.73, allocations: 4.344 kB / 4.49 GB, free: 45.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/11.73, allocations: 118.3 kB / 4.49 GB, free: 45.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/11.73, allocations: 46.78 kB / 4.49 GB, free: 45.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/11.73, allocations: 33.59 kB / 4.49 GB, free: 45.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.002659/11.73, allocations: 0.9797 MB / 4.491 GB, free: 45.22 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00735/11.74, allocations: 1.268 MB / 4.492 GB, free: 45.06 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): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.008823/11.75, allocations: 4.452 MB / 4.497 GB, free: 43.28 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00663/11.75, allocations: 1.74 MB / 4.498 GB, free: 43.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-05/11.75, allocations: 0 / 4.498 GB, free: 43.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002565/11.76, allocations: 0.5833 MB / 4.499 GB, free: 42.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005745/11.76, allocations: 0.8391 MB / 4.5 GB, free: 42.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009258/11.77, allocations: 2.742 MB / 4.502 GB, free: 42.22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002825/11.77, allocations: 1.776 MB / 4.504 GB, free: 41.48 MB / 0.698 GB Notification: Performance of SimCode: time 1.603e-06/11.77, allocations: 0 / 4.504 GB, free: 41.48 MB / 0.698 GB Notification: Performance of Templates: time 0.1221/11.9, allocations: 59.83 MB / 4.563 GB, free: 29.62 MB / 0.698 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)