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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7125/0.7125, allocations: 127.4 MB / 134.9 MB, free: 3.746 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.001052/0.001052, allocations: 180.8 kB / 164.7 MB, free: 6.527 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.475/1.475, allocations: 205.2 MB / 399.5 MB, free: 5.945 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.000824/0.0008236, allocations: 90.97 kB / 476.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.462e-05/1.465e-05, allocations: 4 kB / 0.5466 GB, free: 60.52 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1515, allocations: 76.76 MB / 0.6215 GB, free: 15.69 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.195, allocations: 408.2 MB / 1.02 GB, free: 113.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/1.195, allocations: 95.12 kB / 1.02 GB, free: 113.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.031/9.226, allocations: 2.242 GB / 3.262 GB, free: 43.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.384e-06/9.226, allocations: 3.75 kB / 3.262 GB, free: 43.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0007838/9.227, allocations: 104.9 kB / 3.262 GB, free: 43.09 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.01316/9.24, allocations: 4.013 MB / 3.266 GB, free: 41.31 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/9.24, allocations: 9.25 kB / 3.266 GB, free: 41.31 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008689/9.249, allocations: 1.347 MB / 3.267 GB, free: 41.03 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06302/9.312, allocations: 30.25 MB / 3.297 GB, free: 39.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/9.312, allocations: 70.56 kB / 3.297 GB, free: 39.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001048/9.313, allocations: 142.5 kB / 3.297 GB, free: 39.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006234/9.319, allocations: 2.24 MB / 3.299 GB, free: 39.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00679/9.326, allocations: 2.496 MB / 3.302 GB, free: 38.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.404e-05/9.326, allocations: 9.406 kB / 3.302 GB, free: 38.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002577/9.326, allocations: 7.156 kB / 3.302 GB, free: 38.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/9.326, allocations: 50.06 kB / 3.302 GB, free: 38.84 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02128/9.348, allocations: 13.88 MB / 3.315 GB, free: 33.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002973/9.351, allocations: 2.176 MB / 3.317 GB, free: 32.99 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009599/9.352, allocations: 0.8734 MB / 3.318 GB, free: 32.97 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/9.352, allocations: 358.1 kB / 3.319 GB, free: 32.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001261/9.353, allocations: 1.099 MB / 3.32 GB, free: 32.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002135/9.355, allocations: 173 kB / 3.32 GB, free: 32.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=86): time 3.486e-06/9.355, allocations: 0 / 3.32 GB, free: 32.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=86): time 0.006109/9.362, allocations: 2.555 MB / 3.322 GB, free: 32.15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/9.362, allocations: 116.6 kB / 3.322 GB, free: 32.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009854/9.371, allocations: 4.754 MB / 3.327 GB, free: 31.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006012/9.372, allocations: 29.64 kB / 3.327 GB, free: 31.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001999/9.374, allocations: 2.177 MB / 3.329 GB, free: 31.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005249/9.375, allocations: 287.4 kB / 3.33 GB, free: 30.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/9.375, allocations: 0 / 3.33 GB, free: 30.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001279/9.375, allocations: 389.2 kB / 3.33 GB, free: 30.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/9.376, allocations: 1.044 MB / 3.331 GB, free: 30.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/9.378, allocations: 2.051 MB / 3.333 GB, free: 29.31 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003416/9.381, allocations: 1.474 MB / 3.334 GB, free: 29.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.925e-05/9.381, allocations: 7.219 kB / 3.334 GB, free: 29.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01037/9.392, allocations: 3.764 MB / 3.338 GB, free: 28.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.004303/9.396, allocations: 13.59 MB / 3.351 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.067e-05/9.396, allocations: 28.25 kB / 3.351 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009423/9.397, allocations: 338.5 kB / 3.352 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003766/9.401, allocations: 0.5776 MB / 3.352 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00565/9.407, allocations: 6.036 MB / 3.358 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00402/9.411, allocations: 160.3 kB / 3.358 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006758/9.411, allocations: 208.4 kB / 3.358 GB, free: 26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/9.411, allocations: 5.781 kB / 3.358 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00839/9.42, allocations: 2.814 MB / 3.361 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001418/9.42, allocations: 30.03 kB / 3.361 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007494/9.421, allocations: 338.5 kB / 3.362 GB, free: 25.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/9.423, allocations: 0.593 MB / 3.362 GB, free: 25.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/9.425, allocations: 2.568 MB / 3.365 GB, free: 23.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003723/9.429, allocations: 131.2 kB / 3.365 GB, free: 23.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005498/9.43, allocations: 209.3 kB / 3.365 GB, free: 23.82 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.001061/9.431, allocations: 188.8 kB / 3.365 GB, free: 23.69 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/9.432, allocations: 417.5 kB / 3.366 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007834/9.44, allocations: 2.494 MB / 3.368 GB, free: 23.28 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/9.44, allocations: 14.66 kB / 3.368 GB, free: 23.28 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/9.44, allocations: 3.5 kB / 3.368 GB, free: 23.28 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/9.44, allocations: 3.938 kB / 3.368 GB, free: 23.28 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/9.456, allocations: 5.444 MB / 3.373 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/9.456, allocations: 0 / 3.373 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/9.458, allocations: 251.7 kB / 3.374 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008192/9.459, allocations: 360.3 kB / 3.374 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001664/9.459, allocations: 34.19 kB / 3.374 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005067/9.464, allocations: 5.699 MB / 3.38 GB, free: 17.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/9.464, allocations: 3.469 kB / 3.38 GB, free: 17.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005936/9.47, allocations: 2.172 MB / 3.382 GB, free: 17.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002719/9.473, allocations: 0.9122 MB / 3.383 GB, free: 17.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001542/9.474, allocations: 7 kB / 3.383 GB, free: 17.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00297/9.477, allocations: 136.3 kB / 3.383 GB, free: 17.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/9.477, allocations: 80.38 kB / 3.383 GB, free: 17.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001972/9.478, allocations: 76.03 kB / 3.383 GB, free: 17.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.007412/9.485, allocations: 3.571 MB / 3.386 GB, free: 16.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.8e-07/9.485, allocations: 0 / 3.386 GB, free: 16.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.009085/9.494, allocations: 1.886 MB / 3.388 GB, free: 16.57 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 (86): * Single equations (assignments): 71 * 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.004665/9.499, allocations: 2.291 MB / 3.39 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.009158/9.508, allocations: 3.943 MB / 3.394 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/9.508, allocations: 3.625 kB / 3.394 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002336/9.511, allocations: 0.7738 MB / 3.395 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009815/9.52, allocations: 1.945 MB / 3.397 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/9.534, allocations: 5.475 MB / 3.402 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004327/9.539, allocations: 2.69 MB / 3.405 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.01079/9.549, allocations: 2.135 MB / 3.407 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008668/9.55, allocations: 235.5 kB / 3.407 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of SimCode: time 1.543e-06/9.55, allocations: 0 / 3.407 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of Templates: time 1.099/10.65, allocations: 97.57 MB / 3.502 GB, free: 50.68 MB / 0.7293 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)