Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages.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.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.68/0.68, 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.001905/0.001905, allocations: 185.3 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.737/1.737, allocations: 205.1 MB / 399.1 MB, free: 6.07 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.001241/0.001241, allocations: 89.73 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.655e-06/7.685e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1946, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.345, allocations: 407.9 MB / 1.019 GB, free: 75.37 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/1.345, allocations: 94.5 kB / 1.019 GB, free: 75.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 8.413/9.759, allocations: 2.252 GB / 3.271 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.00174/9.76, allocations: 110.4 kB / 3.272 GB, free: 54.57 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01815/9.779, allocations: 4.04 MB / 3.276 GB, free: 52.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/9.779, allocations: 10.44 kB / 3.276 GB, free: 52.71 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/9.789, allocations: 1.466 MB / 3.277 GB, free: 52.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09577/9.885, allocations: 30.56 MB / 3.307 GB, free: 50.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002998/9.886, allocations: 76.5 kB / 3.307 GB, free: 50.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001622/9.887, allocations: 145.2 kB / 3.307 GB, free: 50.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007363/9.895, allocations: 2.282 MB / 3.309 GB, free: 50.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009601/9.904, allocations: 2.539 MB / 3.312 GB, free: 50.22 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/9.904, allocations: 3.562 kB / 3.312 GB, free: 50.22 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00094/9.905, allocations: 5.656 kB / 3.312 GB, free: 50.22 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.753e-05/9.905, allocations: 50.78 kB / 3.312 GB, free: 50.22 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03768/9.943, allocations: 14.14 MB / 3.326 GB, free: 44.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00486/9.948, allocations: 2.12 MB / 3.328 GB, free: 44.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/9.95, allocations: 0.9106 MB / 3.329 GB, free: 44.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005029/9.95, allocations: 359.1 kB / 3.329 GB, free: 43.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002375/9.953, allocations: 1.115 MB / 3.33 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=86): time 5.069e-06/9.953, allocations: 0 / 3.33 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=86): time 0.00896/9.962, allocations: 2.659 MB / 3.333 GB, free: 43.49 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/9.962, allocations: 113.5 kB / 3.333 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01824/9.98, allocations: 4.872 MB / 3.337 GB, free: 43.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001137/9.981, allocations: 31.86 kB / 3.337 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00372/9.985, allocations: 1.191 MB / 3.339 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001405/9.987, allocations: 289.4 kB / 3.339 GB, free: 42.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007243/9.987, allocations: 0 / 3.339 GB, free: 42.24 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003767/9.988, allocations: 388.9 kB / 3.339 GB, free: 41.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002444/9.99, allocations: 1.081 MB / 3.34 GB, free: 41.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003125/9.993, allocations: 2.083 MB / 3.342 GB, free: 40.65 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005343/9.999, allocations: 1.536 MB / 3.344 GB, free: 40.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.598e-05/9.999, allocations: 6.969 kB / 3.344 GB, free: 40.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01305/10.01, allocations: 3.892 MB / 3.348 GB, free: 40.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.004419/10.02, allocations: 13.57 MB / 3.361 GB, free: 41.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/10.02, allocations: 29.66 kB / 3.361 GB, free: 41.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/10.02, allocations: 349.3 kB / 3.361 GB, free: 41.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004514/10.02, allocations: 0.5796 MB / 3.362 GB, free: 41.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0072/10.03, allocations: 6.161 MB / 3.368 GB, free: 37.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005423/10.03, allocations: 303.7 kB / 3.368 GB, free: 37.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009967/10.04, allocations: 216.6 kB / 3.368 GB, free: 37.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/10.04, allocations: 3.406 kB / 3.368 GB, free: 37.23 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01073/10.05, allocations: 2.92 MB / 3.371 GB, free: 37.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000151/10.05, allocations: 29.41 kB / 3.371 GB, free: 37.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008759/10.05, allocations: 336.8 kB / 3.372 GB, free: 37.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/10.05, allocations: 0.5909 MB / 3.372 GB, free: 37.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/10.05, allocations: 2.611 MB / 3.375 GB, free: 35.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004944/10.06, allocations: 224.6 kB / 3.375 GB, free: 34.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008305/10.06, allocations: 211.4 kB / 3.375 GB, free: 34.99 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: 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 (215): * Single equations (assignments): 203 * 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.00162/10.06, allocations: 206.7 kB / 3.375 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002422/10.06, allocations: 404.3 kB / 3.376 GB, free: 34.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/10.07, allocations: 2.694 MB / 3.378 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-05/10.08, allocations: 13.75 kB / 3.378 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/10.08, allocations: 3.375 kB / 3.378 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.601e-05/10.08, allocations: 7.453 kB / 3.378 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/10.09, allocations: 3.004 MB / 3.381 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.994e-05/10.09, allocations: 1.906 kB / 3.381 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002389/10.09, allocations: 263.9 kB / 3.382 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/10.09, allocations: 399.5 kB / 3.382 GB, free: 34.19 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003626/10.09, allocations: 29.02 kB / 3.382 GB, free: 34.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006387/10.1, allocations: 5.832 MB / 3.388 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/10.1, allocations: 0 / 3.388 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006611/10.1, allocations: 2.147 MB / 3.39 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003909/10.11, allocations: 0.935 MB / 3.391 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002666/10.11, allocations: 3.625 kB / 3.391 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005052/10.11, allocations: 135.2 kB / 3.391 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003945/10.11, allocations: 72.38 kB / 3.391 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003951/10.11, allocations: 72.78 kB / 3.391 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.01231/10.13, allocations: 3.65 MB / 3.394 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01462/10.14, allocations: 1.897 MB / 3.396 GB, free: 28.03 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: 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 (90): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.006722/10.15, allocations: 2.248 MB / 3.399 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0159/10.16, allocations: 4.127 MB / 3.403 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/10.16, allocations: 1.328 kB / 3.403 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004206/10.17, allocations: 0.8399 MB / 3.403 GB, free: 27.19 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01636/10.19, allocations: 1.843 MB / 3.405 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02708/10.21, allocations: 5.769 MB / 3.411 GB, free: 25.84 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009016/10.22, allocations: 3.085 MB / 3.414 GB, free: 25.06 MB / 0.7292 GB Notification: Performance of SimCode: time 1.983e-06/10.22, allocations: 0 / 3.414 GB, free: 25.06 MB / 0.7292 GB Notification: Performance of Templates: time 0.7082/10.93, allocations: 107.1 MB / 3.518 GB, free: 118.1 MB / 0.7292 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages.pipe 2>&1)