Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(IBPSA.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001777/0.001776, allocations: 100 kB / 16.4 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002074/0.002075, allocations: 193.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.72/0.72, allocations: 115.3 MB / 406.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 66.14 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1317, allocations: 76.18 MB / 0.6321 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.ControlledFlowMachine): time 0.6822/0.814, allocations: 321.5 MB / 0.946 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.05325/0.8673, allocations: 39.55 MB / 0.9847 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006338/0.8736, allocations: 147.2 kB / 0.9848 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00939/0.8831, allocations: 3.368 MB / 0.9881 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01922/0.9023, allocations: 7.239 MB / 0.9952 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01068/0.913, allocations: 3.649 MB / 0.9987 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.05381/0.9669, allocations: 36.29 MB / 1.034 GB, free: 136 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007767/0.9747, allocations: 3.496 MB / 1.038 GB, free: 12.57 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01674/0.9915, allocations: 5.905 MB / 1.043 GB, free: 6.645 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007044/0.9986, allocations: 3.5 MB / 1.047 GB, free: 3.137 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001861/1, allocations: 492 kB / 1.047 GB, free: 2.656 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5241/1.525, allocations: 5.664 MB / 1.053 GB, free: 43.14 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004198/1.529, allocations: 2.488 MB / 1.055 GB, free: 43.14 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.009427/1.538, allocations: 3.345 MB / 1.058 GB, free: 43.14 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02305/1.561, allocations: 10.83 MB / 1.069 GB, free: 42.25 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.561, allocations: 0 / 1.069 GB, free: 42.25 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.603e-06/1.561, allocations: 0.875 kB / 1.069 GB, free: 42.25 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002806/1.562, allocations: 0 / 1.069 GB, free: 42.25 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 572 * Number of variables: 572 Notification: Performance of Generate backend data structure: time 0.02022/1.582, allocations: 7.146 MB / 1.076 GB, free: 39.01 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/1.582, allocations: 10.06 kB / 1.076 GB, free: 39.01 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/1.593, allocations: 1.744 MB / 1.078 GB, free: 38.68 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01492/1.607, allocations: 8.493 MB / 1.086 GB, free: 37.57 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/1.608, allocations: 199.2 kB / 1.086 GB, free: 37.57 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005493/1.608, allocations: 269.1 kB / 1.086 GB, free: 37.56 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00554/1.614, allocations: 3.574 MB / 1.09 GB, free: 37.25 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.01e-05/1.614, allocations: 4.406 kB / 1.09 GB, free: 37.25 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/1.614, allocations: 97 kB / 1.09 GB, free: 37.25 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.094e-05/1.614, allocations: 83.33 kB / 1.09 GB, free: 37.24 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004593/1.619, allocations: 2.668 MB / 1.093 GB, free: 37.21 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02127/1.64, allocations: 15.22 MB / 1.108 GB, free: 31.04 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003956/1.644, allocations: 2.123 MB / 1.11 GB, free: 30.99 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/1.646, allocations: 1.133 MB / 1.111 GB, free: 30.98 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/1.646, allocations: 214.9 kB / 1.111 GB, free: 30.79 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002371/1.648, allocations: 1.732 MB / 1.113 GB, free: 30.72 MB / 0.795 GB Notification: Performance of pre-optimization done (n=137): time 3.106e-06/1.648, allocations: 0.7812 kB / 1.113 GB, free: 30.72 MB / 0.795 GB Notification: Performance of matching and sorting (n=137): time 0.008093/1.657, allocations: 3.559 MB / 1.116 GB, free: 30.27 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/1.657, allocations: 68.31 kB / 1.116 GB, free: 30.2 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/1.667, allocations: 6.525 MB / 1.123 GB, free: 29.75 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0006702/1.668, allocations: 72.02 kB / 1.123 GB, free: 29.71 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002287/1.67, allocations: 2.389 MB / 1.125 GB, free: 29.2 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008099/1.671, allocations: 0.4914 MB / 1.125 GB, free: 28.9 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/1.672, allocations: 0.8055 MB / 1.126 GB, free: 28.84 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.672e-05/1.672, allocations: 305.3 kB / 1.127 GB, free: 28.55 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003026/1.675, allocations: 2.567 MB / 1.129 GB, free: 28.52 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003465/1.679, allocations: 3.6 MB / 1.133 GB, free: 27.48 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006114/1.685, allocations: 5.832 MB / 1.138 GB, free: 26.58 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/1.685, allocations: 7.75 kB / 1.138 GB, free: 26.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.009435/1.694, allocations: 6.926 MB / 1.145 GB, free: 26.14 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/1.694, allocations: 41.67 kB / 1.145 GB, free: 26.11 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.09e-05/1.694, allocations: 23.59 kB / 1.145 GB, free: 26.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006735/1.695, allocations: 414.1 kB / 1.145 GB, free: 26.1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/1.698, allocations: 0.7072 MB / 1.146 GB, free: 26.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/1.701, allocations: 3.252 MB / 1.149 GB, free: 23.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0049/1.706, allocations: 426.1 kB / 1.15 GB, free: 23.62 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004098/1.706, allocations: 181.7 kB / 1.15 GB, free: 23.62 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005095/1.711, allocations: 3.571 MB / 1.153 GB, free: 22.1 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003051/1.714, allocations: 3.298 MB / 1.157 GB, free: 18.91 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005168/1.719, allocations: 5.222 MB / 1.162 GB, free: 13.98 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.248e-05/1.719, allocations: 4 kB / 1.162 GB, free: 13.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=478) (initialization_lambda0): time 0.008415/1.728, allocations: 6.319 MB / 1.168 GB, free: 8.004 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/1.728, allocations: 49.75 kB / 1.168 GB, free: 7.949 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/1.728, allocations: 24 kB / 1.168 GB, free: 7.926 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009428/1.729, allocations: 451.7 kB / 1.168 GB, free: 7.484 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002509/1.731, allocations: 0.6947 MB / 1.169 GB, free: 6.828 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006148/1.738, allocations: 6.169 MB / 1.175 GB, free: 488 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005367/1.743, allocations: 358.6 kB / 1.175 GB, free: 124 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005099/1.743, allocations: 164 kB / 1.176 GB, free: 15.96 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 5 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (347): * Single equations (assignments): 336 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0008157/1.744, allocations: 362 kB / 1.176 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/1.746, allocations: 0.4973 MB / 1.176 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005747/1.751, allocations: 2.718 MB / 1.179 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/1.751, allocations: 12 kB / 1.179 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.751, allocations: 0 / 1.179 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00405/1.755, allocations: 2.332 MB / 1.181 GB, free: 10 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/1.77, allocations: 6.489 MB / 1.188 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.77, allocations: 4 kB / 1.188 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00219/1.772, allocations: 452.7 kB / 1.188 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003761/1.773, allocations: 164.7 kB / 1.188 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/1.773, allocations: 47.97 kB / 1.188 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/1.775, allocations: 3.016 MB / 1.191 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.775, allocations: 2.25 kB / 1.191 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007652/1.783, allocations: 4.022 MB / 1.195 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003476/1.786, allocations: 0.8494 MB / 1.196 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001274/1.787, allocations: 47.92 kB / 1.196 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002855/1.79, allocations: 119.9 kB / 1.196 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/1.791, allocations: 103.4 kB / 1.196 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/1.791, allocations: 63.97 kB / 1.196 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.008822/1.8, allocations: 4.469 MB / 1.201 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of sort global known variables: time 7.41e-07/1.8, allocations: 4 kB / 1.201 GB, free: 6 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.009379/1.809, allocations: 2.379 MB / 1.203 GB, free: 3.617 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 11 (fan1.vol.dynBal.medium.Xi[1],fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.filter.s[1],fan1.filter.s[2],fan3.vol.dynBal.medium.Xi[1],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan2.vol.dynBal.medium.Xi[1],fan2.vol.dynBal.U,fan2.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001822/1.811, allocations: 0.6791 MB / 1.204 GB, free: 3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.013/1.824, allocations: 7.293 MB / 1.211 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/1.824, allocations: 0 / 1.211 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/1.827, allocations: 1.174 MB / 1.212 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0148/1.841, allocations: 3.027 MB / 1.215 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/1.859, allocations: 9.654 MB / 1.224 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003083/1.863, allocations: 3.166 MB / 1.227 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.005717/1.868, allocations: 1.473 MB / 1.229 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/1.869, allocations: 375.3 kB / 1.229 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of SimCode: time 1.252e-06/1.869, allocations: 0 / 1.229 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of Templates: time 0.1944/2.064, allocations: 114.7 MB / 1.341 GB, free: 7.906 MB / 0.9669 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)