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.001135/0.001135, allocations: 115.4 kB / 17.08 MB, free: 6.008 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.001131/0.001131, allocations: 196.7 kB / 18.02 MB, free: 5.086 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.265/1.265, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7056/0.7056, allocations: 115.3 MB / 407.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 69.42 kB / 0.5584 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1491, allocations: 76.18 MB / 0.6328 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.ControlledFlowMachine): time 0.6717/0.8209, allocations: 321.5 MB / 0.9467 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.05964/0.8806, allocations: 39.54 MB / 0.9853 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008838/0.8894, allocations: 143.2 kB / 0.9854 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01183/0.9013, allocations: 3.377 MB / 0.9887 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.02062/0.9219, allocations: 7.235 MB / 0.9958 GB, free: 8.195 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.009784/0.9317, allocations: 3.657 MB / 0.9994 GB, free: 4.551 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.05217/0.9839, allocations: 36.27 MB / 1.035 GB, free: 228 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007497/0.9915, allocations: 3.498 MB / 1.038 GB, free: 12.66 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01418/1.006, allocations: 5.909 MB / 1.044 GB, free: 6.73 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008077/1.014, allocations: 3.504 MB / 1.047 GB, free: 3.223 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002077/1.016, allocations: 492 kB / 1.048 GB, free: 2.742 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5003/1.516, allocations: 5.666 MB / 1.053 GB, free: 43.04 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.005466/1.522, allocations: 2.481 MB / 1.056 GB, free: 43.04 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.01013/1.532, allocations: 3.346 MB / 1.059 GB, free: 43.04 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02202/1.554, allocations: 10.83 MB / 1.07 GB, free: 42.16 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/1.554, allocations: 3.234 kB / 1.07 GB, free: 42.16 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.545e-06/1.554, allocations: 0 / 1.07 GB, free: 42.16 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003158/1.554, allocations: 0 / 1.07 GB, free: 42.16 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.02096/1.575, allocations: 7.14 MB / 1.077 GB, free: 38.93 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.575, allocations: 10.66 kB / 1.077 GB, free: 38.93 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/1.586, allocations: 1.748 MB / 1.078 GB, free: 38.59 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01645/1.603, allocations: 8.497 MB / 1.087 GB, free: 37.48 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/1.603, allocations: 192.8 kB / 1.087 GB, free: 37.48 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007558/1.604, allocations: 269.2 kB / 1.087 GB, free: 37.47 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005802/1.61, allocations: 3.579 MB / 1.091 GB, free: 37.16 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.702e-05/1.61, allocations: 2.75 kB / 1.091 GB, free: 37.16 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002424/1.61, allocations: 95.41 kB / 1.091 GB, free: 37.16 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.735e-05/1.61, allocations: 87.56 kB / 1.091 GB, free: 37.15 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004643/1.615, allocations: 2.663 MB / 1.093 GB, free: 37.12 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.02102/1.636, allocations: 15.23 MB / 1.108 GB, free: 30.94 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003888/1.64, allocations: 2.115 MB / 1.11 GB, free: 30.89 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001801/1.642, allocations: 1.138 MB / 1.111 GB, free: 30.88 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/1.642, allocations: 215.6 kB / 1.112 GB, free: 30.69 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002388/1.644, allocations: 1.732 MB / 1.113 GB, free: 30.62 MB / 0.795 GB Notification: Performance of pre-optimization done (n=137): time 5.18e-06/1.644, allocations: 0.8125 kB / 1.113 GB, free: 30.62 MB / 0.795 GB Notification: Performance of matching and sorting (n=137): time 0.008016/1.652, allocations: 3.559 MB / 1.117 GB, free: 30.17 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/1.652, allocations: 65.88 kB / 1.117 GB, free: 30.11 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01039/1.663, allocations: 6.522 MB / 1.123 GB, free: 29.65 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0007295/1.664, allocations: 71.33 kB / 1.123 GB, free: 29.62 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001979/1.666, allocations: 2.395 MB / 1.126 GB, free: 29.11 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007531/1.666, allocations: 498.7 kB / 1.126 GB, free: 28.8 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/1.667, allocations: 0.8103 MB / 1.127 GB, free: 28.75 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.547e-05/1.667, allocations: 305.7 kB / 1.127 GB, free: 28.45 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00319/1.671, allocations: 2.566 MB / 1.13 GB, free: 28.42 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003568/1.674, allocations: 3.593 MB / 1.133 GB, free: 27.38 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006043/1.68, allocations: 5.837 MB / 1.139 GB, free: 26.48 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/1.68, allocations: 7.781 kB / 1.139 GB, free: 26.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.009455/1.69, allocations: 6.918 MB / 1.146 GB, free: 26.05 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/1.69, allocations: 47.67 kB / 1.146 GB, free: 26.02 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.56e-05/1.69, allocations: 23.53 kB / 1.146 GB, free: 26.02 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006889/1.691, allocations: 420.8 kB / 1.146 GB, free: 26 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003154/1.694, allocations: 0.6971 MB / 1.147 GB, free: 26 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/1.696, allocations: 3.261 MB / 1.15 GB, free: 23.71 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004938/1.701, allocations: 417.4 kB / 1.15 GB, free: 23.53 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003226/1.702, allocations: 187.9 kB / 1.151 GB, free: 23.53 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005029/1.707, allocations: 3.565 MB / 1.154 GB, free: 22.08 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003029/1.71, allocations: 3.303 MB / 1.157 GB, free: 18.92 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005195/1.715, allocations: 5.223 MB / 1.162 GB, free: 13.99 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.406e-05/1.715, allocations: 8 kB / 1.162 GB, free: 13.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=478) (initialization_lambda0): time 0.008519/1.723, allocations: 6.316 MB / 1.169 GB, free: 8.031 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/1.723, allocations: 49.69 kB / 1.169 GB, free: 7.977 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/1.723, allocations: 27.94 kB / 1.169 GB, free: 7.949 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009992/1.724, allocations: 448.6 kB / 1.169 GB, free: 7.508 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/1.727, allocations: 0.6893 MB / 1.17 GB, free: 6.859 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006036/1.733, allocations: 6.173 MB / 1.176 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005185/1.738, allocations: 356.6 kB / 1.176 GB, free: 160 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003615/1.739, allocations: 164 kB / 1.176 GB, free: 15.99 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.0008349/1.739, allocations: 358 kB / 1.177 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/1.741, allocations: 0.4973 MB / 1.177 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005613/1.746, allocations: 2.722 MB / 1.18 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/1.746, allocations: 12 kB / 1.18 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/1.746, allocations: 0 / 1.18 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003801/1.75, allocations: 2.336 MB / 1.182 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/1.762, allocations: 6.49 MB / 1.188 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/1.762, allocations: 4 kB / 1.188 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002152/1.764, allocations: 449.9 kB / 1.189 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003692/1.765, allocations: 164.7 kB / 1.189 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/1.765, allocations: 47.97 kB / 1.189 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/1.767, allocations: 3.016 MB / 1.192 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.767, allocations: 4 kB / 1.192 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007423/1.774, allocations: 4.026 MB / 1.196 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002761/1.777, allocations: 0.8533 MB / 1.197 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001112/1.778, allocations: 43.92 kB / 1.197 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002672/1.781, allocations: 124.6 kB / 1.197 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/1.781, allocations: 99.53 kB / 1.197 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/1.781, allocations: 63.97 kB / 1.197 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00787/1.789, allocations: 4.469 MB / 1.201 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.51e-07/1.789, allocations: 0 / 1.201 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.007744/1.797, allocations: 2.378 MB / 1.204 GB, free: 3.652 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.001657/1.798, allocations: 0.6768 MB / 1.204 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01199/1.81, allocations: 7.29 MB / 1.212 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.81, allocations: 4 kB / 1.212 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002262/1.813, allocations: 1.159 MB / 1.213 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0145/1.827, allocations: 3.032 MB / 1.216 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/1.848, allocations: 9.924 MB / 1.225 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003043/1.851, allocations: 3.134 MB / 1.228 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00185/1.853, allocations: 395.3 kB / 1.229 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of SimCode: time 7.32e-07/1.853, allocations: 2.344 kB / 1.229 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of Templates: time 0.2313/2.084, allocations: 182.3 MB / 1.407 GB, free: 4.66 MB / 1.029 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)