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.001187/0.001187, allocations: 109.5 kB / 16.41 MB, free: 6.492 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.001153/0.001153, 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.232/1.232, 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.7114/0.7114, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 64.08 kB / 0.5577 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1283, allocations: 76.19 MB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.ControlledFlowMachine): time 0.6141/0.7424, allocations: 321.5 MB / 0.946 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0524/0.7948, allocations: 39.54 MB / 0.9847 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005507/0.8004, allocations: 147.2 kB / 0.9848 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.008689/0.8091, allocations: 3.373 MB / 0.9881 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01726/0.8264, allocations: 7.235 MB / 0.9952 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00992/0.8363, allocations: 3.656 MB / 0.9987 GB, free: 4.527 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.04736/0.8837, allocations: 36.28 MB / 1.034 GB, free: 204 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005524/0.8892, allocations: 3.503 MB / 1.038 GB, free: 12.63 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01231/0.9016, allocations: 5.897 MB / 1.043 GB, free: 6.715 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006549/0.9082, allocations: 3.506 MB / 1.047 GB, free: 3.203 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001111/0.9093, allocations: 496 kB / 1.047 GB, free: 2.719 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4307/1.34, allocations: 5.666 MB / 1.053 GB, free: 43.12 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003333/1.343, allocations: 2.482 MB / 1.055 GB, free: 43.12 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.006038/1.349, allocations: 3.345 MB / 1.058 GB, free: 43.12 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01636/1.366, allocations: 10.83 MB / 1.069 GB, free: 42.23 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/1.366, allocations: 0 / 1.069 GB, free: 42.23 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.154e-06/1.366, allocations: 0.6562 kB / 1.069 GB, free: 42.23 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002719/1.366, allocations: 1.781 kB / 1.069 GB, free: 42.23 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.01745/1.384, allocations: 7.147 MB / 1.076 GB, free: 39 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/1.384, allocations: 8.719 kB / 1.076 GB, free: 39 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009895/1.394, allocations: 1.752 MB / 1.078 GB, free: 38.66 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01473/1.408, allocations: 8.492 MB / 1.086 GB, free: 37.56 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/1.409, allocations: 194.2 kB / 1.086 GB, free: 37.55 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006039/1.409, allocations: 267.1 kB / 1.086 GB, free: 37.55 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005722/1.415, allocations: 3.577 MB / 1.09 GB, free: 37.23 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.547e-05/1.415, allocations: 2.625 kB / 1.09 GB, free: 37.23 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002621/1.415, allocations: 93.81 kB / 1.09 GB, free: 37.23 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.66e-05/1.415, allocations: 86.7 kB / 1.09 GB, free: 37.23 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004507/1.42, allocations: 2.666 MB / 1.093 GB, free: 37.2 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.01762/1.437, allocations: 15.22 MB / 1.108 GB, free: 31.02 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003721/1.441, allocations: 2.112 MB / 1.11 GB, free: 30.98 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/1.443, allocations: 1.136 MB / 1.111 GB, free: 30.96 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002964/1.443, allocations: 219.2 kB / 1.111 GB, free: 30.77 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002446/1.446, allocations: 1.733 MB / 1.113 GB, free: 30.7 MB / 0.795 GB Notification: Performance of pre-optimization done (n=137): time 3.717e-06/1.446, allocations: 0.9688 kB / 1.113 GB, free: 30.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=137): time 0.007849/1.454, allocations: 3.554 MB / 1.116 GB, free: 30.25 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/1.454, allocations: 74.89 kB / 1.116 GB, free: 30.18 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009008/1.463, allocations: 6.519 MB / 1.123 GB, free: 29.73 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0005273/1.463, allocations: 74.67 kB / 1.123 GB, free: 29.7 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001795/1.465, allocations: 2.386 MB / 1.125 GB, free: 29.18 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005114/1.466, allocations: 0.4937 MB / 1.125 GB, free: 28.88 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/1.467, allocations: 0.8079 MB / 1.126 GB, free: 28.82 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.059e-05/1.467, allocations: 301.1 kB / 1.127 GB, free: 28.53 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002977/1.47, allocations: 2.569 MB / 1.129 GB, free: 28.5 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003528/1.473, allocations: 3.602 MB / 1.133 GB, free: 27.46 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005836/1.479, allocations: 5.832 MB / 1.138 GB, free: 26.55 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/1.479, allocations: 7.781 kB / 1.138 GB, free: 26.55 MB / 0.795 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.00979/1.489, allocations: 6.922 MB / 1.145 GB, free: 26.12 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.61e-05/1.489, allocations: 41.89 kB / 1.145 GB, free: 26.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.427e-05/1.489, allocations: 21.31 kB / 1.145 GB, free: 26.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009549/1.49, allocations: 414.5 kB / 1.145 GB, free: 26.08 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003364/1.493, allocations: 0.7036 MB / 1.146 GB, free: 26.08 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/1.496, allocations: 3.259 MB / 1.149 GB, free: 23.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005065/1.501, allocations: 428.5 kB / 1.15 GB, free: 23.61 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000278/1.502, allocations: 179.8 kB / 1.15 GB, free: 23.61 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004708/1.506, allocations: 3.569 MB / 1.153 GB, free: 22.09 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002915/1.509, allocations: 3.299 MB / 1.157 GB, free: 18.98 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005183/1.515, allocations: 5.225 MB / 1.162 GB, free: 14.05 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.078e-05/1.515, allocations: 7.844 kB / 1.162 GB, free: 14.04 MB / 0.795 GB Notification: Performance of matching and sorting (n=478) (initialization_lambda0): time 0.008164/1.523, allocations: 6.32 MB / 1.168 GB, free: 7.977 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/1.523, allocations: 45.69 kB / 1.168 GB, free: 7.926 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/1.523, allocations: 27.34 kB / 1.168 GB, free: 7.902 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009666/1.524, allocations: 452.6 kB / 1.168 GB, free: 7.457 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/1.526, allocations: 0.6907 MB / 1.169 GB, free: 6.805 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005971/1.532, allocations: 6.158 MB / 1.175 GB, free: 476 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004652/1.537, allocations: 354.7 kB / 1.175 GB, free: 116 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002991/1.537, allocations: 168 kB / 1.176 GB, free: 15.95 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.0007198/1.538, allocations: 354 kB / 1.176 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008431/1.539, allocations: 0.5049 MB / 1.176 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005415/1.544, allocations: 2.716 MB / 1.179 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/1.544, allocations: 16 kB / 1.179 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.544, allocations: 2.344 kB / 1.179 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003789/1.548, allocations: 2.338 MB / 1.181 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/1.559, allocations: 6.493 MB / 1.188 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/1.559, allocations: 4 kB / 1.188 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00217/1.561, allocations: 441.8 kB / 1.188 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003544/1.561, allocations: 168.7 kB / 1.188 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/1.561, allocations: 47.97 kB / 1.188 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/1.563, allocations: 3.016 MB / 1.191 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/1.563, allocations: 2.438 kB / 1.191 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006673/1.57, allocations: 4.024 MB / 1.195 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001716/1.571, allocations: 0.8494 MB / 1.196 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006638/1.572, allocations: 39.92 kB / 1.196 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00238/1.575, allocations: 130.1 kB / 1.196 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/1.575, allocations: 93.19 kB / 1.196 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/1.575, allocations: 63.97 kB / 1.196 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.006656/1.582, allocations: 4.473 MB / 1.201 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.483e-06/1.582, allocations: 3.938 kB / 1.201 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.005984/1.588, allocations: 2.381 MB / 1.203 GB, free: 3.602 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.001431/1.589, allocations: 0.6833 MB / 1.204 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.601, allocations: 7.285 MB / 1.211 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.601, allocations: 0 / 1.211 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002409/1.603, allocations: 1.179 MB / 1.212 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01244/1.615, allocations: 3.024 MB / 1.215 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/1.631, allocations: 9.657 MB / 1.224 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003139/1.634, allocations: 3.177 MB / 1.228 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.005787/1.639, allocations: 1.453 MB / 1.229 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/1.641, allocations: 383.3 kB / 1.229 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of SimCode: time 1.263e-06/1.641, allocations: 0 / 1.229 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of Templates: time 0.1702/1.811, allocations: 112.8 MB / 1.339 GB, free: 9.77 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)