Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages") translateModel(BuildingSystems.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7762/0.7762, allocations: 141.8 MB / 149.1 MB, free: 11.67 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 185.5 kB / 182 MB, free: 8.473 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 221.3 MB / 436 MB, free: 0.7227 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 95.19 kB / 0.507 GB, free: 17.9 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002008/0.002008, allocations: 269.3 kB / 0.5884 GB, free: 2.434 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.714e-06/7.744e-06, allocations: 1.312 kB / 0.6759 GB, free: 136.5 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1814, allocations: 82.79 MB / 0.7567 GB, free: 81.1 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7139/0.8953, allocations: 403.7 MB / 1.151 GB, free: 400 kB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.8956, allocations: 91.14 kB / 1.151 GB, free: 356 kB / 0.7138 GB Notification: Performance of FrontEnd: time 8.912/9.808, allocations: 2.368 GB / 3.52 GB, free: 70.09 MB / 0.7607 GB Notification: Performance of Transformations before backend: time 0.001218/9.809, allocations: 103.3 kB / 3.52 GB, free: 70.08 MB / 0.7607 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.0166/9.826, allocations: 4.044 MB / 3.524 GB, free: 68.02 MB / 0.7607 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/9.826, allocations: 17.22 kB / 3.524 GB, free: 68.01 MB / 0.7607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009062/9.835, allocations: 1.28 MB / 3.525 GB, free: 67.73 MB / 0.7607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08972/9.925, allocations: 31.85 MB / 3.556 GB, free: 65.89 MB / 0.7607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/9.925, allocations: 67.66 kB / 3.556 GB, free: 65.89 MB / 0.7607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001571/9.926, allocations: 143.9 kB / 3.556 GB, free: 65.89 MB / 0.7607 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007529/9.934, allocations: 2.293 MB / 3.558 GB, free: 65.87 MB / 0.7607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006988/9.941, allocations: 2.534 MB / 3.561 GB, free: 65.5 MB / 0.7607 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.126e-05/9.941, allocations: 6.656 kB / 3.561 GB, free: 65.5 MB / 0.7607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/9.941, allocations: 6.375 kB / 3.561 GB, free: 65.49 MB / 0.7607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-05/9.941, allocations: 51.91 kB / 3.561 GB, free: 65.49 MB / 0.7607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02376/9.965, allocations: 13.07 MB / 3.574 GB, free: 60.78 MB / 0.7607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002814/9.968, allocations: 2.134 MB / 3.576 GB, free: 60.74 MB / 0.7607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/9.969, allocations: 0.9519 MB / 3.577 GB, free: 60.73 MB / 0.7607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00939/9.979, allocations: 5.178 MB / 3.582 GB, free: 58.83 MB / 0.7607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001426/9.98, allocations: 1.127 MB / 3.583 GB, free: 58.77 MB / 0.7607 GB Notification: Performance of pre-optimization done (n=92): time 2.966e-06/9.98, allocations: 1.781 kB / 3.583 GB, free: 58.77 MB / 0.7607 GB Notification: Performance of matching and sorting (n=92): time 0.008201/9.988, allocations: 2.877 MB / 3.586 GB, free: 58.45 MB / 0.7607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/9.988, allocations: 117 kB / 3.586 GB, free: 58.33 MB / 0.7607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009683/9.998, allocations: 4.854 MB / 3.591 GB, free: 56.68 MB / 0.7607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007498/9.999, allocations: 29.42 kB / 3.591 GB, free: 56.65 MB / 0.7607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001256/10, allocations: 1.176 MB / 3.592 GB, free: 55.88 MB / 0.7607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007182/10, allocations: 306.8 kB / 3.592 GB, free: 55.64 MB / 0.7607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/10, allocations: 3.875 kB / 3.592 GB, free: 55.64 MB / 0.7607 GB Notification: Performance of setup shared object (initialization): time 0.0001202/10, allocations: 384.8 kB / 3.592 GB, free: 55.31 MB / 0.7607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/10, allocations: 1.072 MB / 3.593 GB, free: 54.91 MB / 0.7607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/10, allocations: 2.13 MB / 3.595 GB, free: 53.11 MB / 0.7607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003773/10.01, allocations: 1.531 MB / 3.597 GB, free: 52.64 MB / 0.7607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.208e-05/10.01, allocations: 15.3 kB / 3.597 GB, free: 52.64 MB / 0.7607 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008575/10.02, allocations: 3.706 MB / 3.601 GB, free: 51.34 MB / 0.7607 GB Notification: Performance of prepare postOptimizeDAE: time 0.002823/10.02, allocations: 13.56 MB / 3.614 GB, free: 36.6 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.374e-05/10.02, allocations: 29.31 kB / 3.614 GB, free: 36.6 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000879/10.02, allocations: 339.9 kB / 3.614 GB, free: 36.49 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003575/10.02, allocations: 0.5505 MB / 3.615 GB, free: 36.44 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004932/10.03, allocations: 6.137 MB / 3.621 GB, free: 31.38 MB / 0.7607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004705/10.03, allocations: 296.6 kB / 3.621 GB, free: 31.24 MB / 0.7607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007225/10.03, allocations: 212.3 kB / 3.621 GB, free: 31.23 MB / 0.7607 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/10.03, allocations: 3.906 kB / 3.621 GB, free: 31.23 MB / 0.7607 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006524/10.04, allocations: 2.814 MB / 3.624 GB, free: 30.3 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-05/10.04, allocations: 29.75 kB / 3.624 GB, free: 30.3 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007614/10.04, allocations: 335.8 kB / 3.624 GB, free: 30.2 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/10.04, allocations: 0.5851 MB / 3.625 GB, free: 30.15 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/10.05, allocations: 2.614 MB / 3.627 GB, free: 43.84 MB / 0.7763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004474/10.05, allocations: 224.3 kB / 3.628 GB, free: 43.76 MB / 0.7763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005282/10.05, allocations: 214.7 kB / 3.628 GB, free: 43.73 MB / 0.7763 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 (217): * Single equations (assignments): 205 * 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.001149/10.05, allocations: 202 kB / 3.628 GB, free: 43.56 MB / 0.7763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001832/10.05, allocations: 409.5 kB / 3.628 GB, free: 43.34 MB / 0.7763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009471/10.06, allocations: 2.885 MB / 3.631 GB, free: 42.46 MB / 0.7763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.824e-05/10.06, allocations: 22.23 kB / 3.631 GB, free: 42.45 MB / 0.7763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/10.06, allocations: 0 / 3.631 GB, free: 42.45 MB / 0.7763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.366e-05/10.06, allocations: 7.031 kB / 3.631 GB, free: 42.45 MB / 0.7763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/10.08, allocations: 5.82 MB / 3.637 GB, free: 40.08 MB / 0.7763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/10.08, allocations: 5.344 kB / 3.637 GB, free: 40.08 MB / 0.7763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/10.08, allocations: 222.2 kB / 3.637 GB, free: 40.07 MB / 0.7763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/10.08, allocations: 411.4 kB / 3.638 GB, free: 39.91 MB / 0.7763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/10.09, allocations: 33.41 kB / 3.638 GB, free: 39.91 MB / 0.7763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005371/10.09, allocations: 5.115 MB / 3.643 GB, free: 35.27 MB / 0.7763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/10.09, allocations: 5.406 kB / 3.643 GB, free: 35.26 MB / 0.7763 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008382/10.1, allocations: 2.593 MB / 3.645 GB, free: 33.91 MB / 0.7763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003476/10.1, allocations: 0.9311 MB / 3.646 GB, free: 33.07 MB / 0.7763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002119/10.1, allocations: 7.469 kB / 3.646 GB, free: 33.07 MB / 0.7763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004141/10.11, allocations: 141.1 kB / 3.646 GB, free: 32.96 MB / 0.7763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/10.11, allocations: 84.48 kB / 3.646 GB, free: 32.92 MB / 0.7763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002826/10.11, allocations: 82.67 kB / 3.646 GB, free: 32.85 MB / 0.7763 GB Notification: Performance of sort global known variables: time 0.009385/10.12, allocations: 3.61 MB / 3.65 GB, free: 29.63 MB / 0.7763 GB Notification: Performance of remove unused functions: time 0.009933/10.13, allocations: 1.935 MB / 3.652 GB, free: 27.72 MB / 0.7763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (104): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.004151/10.13, allocations: 2.249 MB / 3.654 GB, free: 25.93 MB / 0.7763 GB Notification: Performance of simCode: created initialization part: time 0.009686/10.14, allocations: 4.157 MB / 3.658 GB, free: 22.14 MB / 0.7763 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/10.14, allocations: 7.656 kB / 3.658 GB, free: 22.13 MB / 0.7763 GB Notification: Performance of simCode: created simulation system equations: time 0.00199/10.14, allocations: 0.8693 MB / 3.659 GB, free: 21.35 MB / 0.7763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01032/10.15, allocations: 1.842 MB / 3.661 GB, free: 19.96 MB / 0.7763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/10.17, allocations: 5.868 MB / 3.666 GB, free: 14.58 MB / 0.7763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005092/10.18, allocations: 3.1 MB / 3.669 GB, free: 12.22 MB / 0.7763 GB Notification: Performance of SimCode: time 2.104e-06/10.18, allocations: 0 / 3.669 GB, free: 12.22 MB / 0.7763 GB Notification: Performance of Templates: time 0.6849/10.86, allocations: 107.1 MB / 3.774 GB, free: 115.1 MB / 0.7763 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.pipe 2>&1)