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.001357/0.001357, allocations: 102.5 kB / 16.4 MB, free: 6.461 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.001502/0.001502, allocations: 196 kB / 17.34 MB, free: 5.715 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.802/0.802, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.23 kB / 0.5685 GB, free: 28.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1618, allocations: 77.93 MB / 0.6446 GB, free: 8.965 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.ControlledFlowMachine): time 0.7135/0.8753, allocations: 321.5 MB / 0.9585 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.06966/0.9451, allocations: 39.54 MB / 0.9971 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008451/0.9536, allocations: 147.2 kB / 0.9973 GB, free: 1.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01253/0.9662, allocations: 3.372 MB / 1.001 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0232/0.9894, allocations: 7.241 MB / 1.008 GB, free: 7.328 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01023/0.9997, allocations: 3.651 MB / 1.011 GB, free: 3.688 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.6359/1.636, allocations: 36.27 MB / 1.047 GB, free: 33.53 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007716/1.643, allocations: 3.5 MB / 1.05 GB, free: 33.21 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01776/1.661, allocations: 5.8 MB / 1.056 GB, free: 33.21 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01018/1.671, allocations: 3.496 MB / 1.059 GB, free: 33.2 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002946/1.674, allocations: 496 kB / 1.06 GB, free: 33.2 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01587/1.69, allocations: 5.674 MB / 1.065 GB, free: 33.2 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004968/1.695, allocations: 2.488 MB / 1.068 GB, free: 33.05 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00955/1.705, allocations: 3.345 MB / 1.071 GB, free: 32.12 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02419/1.729, allocations: 10.87 MB / 1.081 GB, free: 30.73 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.729, allocations: 3.469 kB / 1.081 GB, free: 30.73 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.695e-06/1.729, allocations: 0 / 1.081 GB, free: 30.73 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0004361/1.729, allocations: 0.9062 kB / 1.081 GB, free: 30.73 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.02349/1.753, allocations: 7.363 MB / 1.089 GB, free: 27.25 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.753, allocations: 11.91 kB / 1.089 GB, free: 27.25 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0119/1.765, allocations: 1.787 MB / 1.09 GB, free: 26.88 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01808/1.783, allocations: 8.537 MB / 1.099 GB, free: 25.74 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/1.783, allocations: 195.5 kB / 1.099 GB, free: 25.73 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007882/1.784, allocations: 265.4 kB / 1.099 GB, free: 25.73 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007002/1.791, allocations: 3.574 MB / 1.103 GB, free: 25.41 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.579e-05/1.791, allocations: 3.531 kB / 1.103 GB, free: 25.41 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002837/1.792, allocations: 99.08 kB / 1.103 GB, free: 25.41 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.55e-05/1.792, allocations: 86.94 kB / 1.103 GB, free: 25.41 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005832/1.797, allocations: 2.663 MB / 1.105 GB, free: 25.38 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.02884/1.826, allocations: 15.26 MB / 1.12 GB, free: 19.15 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004578/1.831, allocations: 2.122 MB / 1.122 GB, free: 19.1 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/1.833, allocations: 1.133 MB / 1.124 GB, free: 19.09 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003157/1.833, allocations: 219.6 kB / 1.124 GB, free: 18.9 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002879/1.836, allocations: 1.735 MB / 1.125 GB, free: 18.83 MB / 0.795 GB Notification: Performance of pre-optimization done (n=137): time 3.817e-06/1.836, allocations: 0 / 1.125 GB, free: 18.83 MB / 0.795 GB Notification: Performance of matching and sorting (n=137): time 0.009504/1.846, allocations: 3.579 MB / 1.129 GB, free: 18.35 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/1.846, allocations: 70.5 kB / 1.129 GB, free: 18.29 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01307/1.859, allocations: 6.542 MB / 1.135 GB, free: 17.76 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0008817/1.86, allocations: 69.66 kB / 1.135 GB, free: 17.73 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003139/1.863, allocations: 2.41 MB / 1.138 GB, free: 16.98 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001536/1.865, allocations: 0.513 MB / 1.138 GB, free: 16.61 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001817/1.866, allocations: 0.8088 MB / 1.139 GB, free: 16.45 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/1.866, allocations: 304.8 kB / 1.139 GB, free: 16.16 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003848/1.87, allocations: 2.565 MB / 1.142 GB, free: 15.8 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004168/1.875, allocations: 3.598 MB / 1.145 GB, free: 12.99 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006809/1.881, allocations: 5.825 MB / 1.151 GB, free: 8.898 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.189e-05/1.881, allocations: 8 kB / 1.151 GB, free: 8.891 MB / 0.795 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.01126/1.893, allocations: 6.958 MB / 1.158 GB, free: 2.754 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.184e-05/1.893, allocations: 51.41 kB / 1.158 GB, free: 2.699 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.151e-05/1.893, allocations: 24 kB / 1.158 GB, free: 2.676 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007213/1.894, allocations: 412.6 kB / 1.158 GB, free: 2.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003465/1.897, allocations: 0.7053 MB / 1.159 GB, free: 1.613 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/1.9, allocations: 3.257 MB / 1.162 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005923/1.906, allocations: 444.3 kB / 1.163 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006622/1.907, allocations: 188 kB / 1.163 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006851/1.914, allocations: 3.565 MB / 1.166 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00469/1.918, allocations: 3.296 MB / 1.17 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008467/1.927, allocations: 5.226 MB / 1.175 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.209e-05/1.927, allocations: 8 kB / 1.175 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=478) (initialization_lambda0): time 0.01331/1.94, allocations: 6.351 MB / 1.181 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.353e-05/1.94, allocations: 41.7 kB / 1.181 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.463e-05/1.94, allocations: 24 kB / 1.181 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/1.942, allocations: 456.6 kB / 1.181 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003238/1.945, allocations: 0.6892 MB / 1.182 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009635/1.954, allocations: 6.169 MB / 1.188 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007415/1.962, allocations: 354.8 kB / 1.188 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/1.963, allocations: 164 kB / 1.189 GB, free: 2.715 MB / 0.8262 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.001671/1.965, allocations: 354 kB / 1.189 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00224/1.967, allocations: 0.526 MB / 1.189 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007539/1.975, allocations: 2.735 MB / 1.192 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/1.975, allocations: 12 kB / 1.192 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.975, allocations: 0 / 1.192 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004385/1.979, allocations: 2.337 MB / 1.194 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01831/1.997, allocations: 6.484 MB / 1.201 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/1.997, allocations: 4 kB / 1.201 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002269/2, allocations: 444.5 kB / 1.201 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004184/2, allocations: 176.7 kB / 1.201 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/2, allocations: 50.22 kB / 1.201 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/2.003, allocations: 3.01 MB / 1.204 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/2.003, allocations: 6.25 kB / 1.204 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008628/2.011, allocations: 4.052 MB / 1.208 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003434/2.015, allocations: 0.8836 MB / 1.209 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002082/2.017, allocations: 40 kB / 1.209 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004924/2.022, allocations: 132.4 kB / 1.209 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004176/2.022, allocations: 93.19 kB / 1.209 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003294/2.023, allocations: 63.97 kB / 1.209 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0115/2.034, allocations: 4.475 MB / 1.214 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.31e-07/2.034, allocations: 0 / 1.214 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.01264/2.047, allocations: 2.39 MB / 1.216 GB, free: 6.277 MB / 0.8575 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.003012/2.05, allocations: 0.6785 MB / 1.217 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0143/2.064, allocations: 7.291 MB / 1.224 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/2.064, allocations: 4 kB / 1.224 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00274/2.067, allocations: 1.174 MB / 1.225 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01635/2.083, allocations: 3.035 MB / 1.228 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/2.105, allocations: 9.822 MB / 1.238 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004941/2.11, allocations: 3.173 MB / 1.241 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.006495/2.117, allocations: 1.461 MB / 1.242 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001523/2.118, allocations: 379.3 kB / 1.242 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of SimCode: time 1.042e-06/2.118, allocations: 0 / 1.242 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of Templates: time 0.1802/2.299, allocations: 112.8 MB / 1.353 GB, free: 12.25 MB / 0.9981 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)