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.001272/0.001272, allocations: 119.6 kB / 17.09 MB, free: 5.988 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.001249/0.001249, allocations: 195 kB / 18.02 MB, free: 5.07 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.272/1.272, allocations: 222.9 MB / 241.7 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.7075/0.7075, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 65.3 kB / 0.5584 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1417, allocations: 76.18 MB / 0.6328 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.ControlledFlowMachine): time 0.6721/0.8138, allocations: 321.5 MB / 0.9467 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0569/0.8708, allocations: 39.55 MB / 0.9853 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00751/0.8783, allocations: 147.2 kB / 0.9854 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.8889, allocations: 3.377 MB / 0.9887 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0207/0.9096, allocations: 7.231 MB / 0.9958 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01082/0.9205, allocations: 3.664 MB / 0.9994 GB, free: 4.5 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.05286/0.9733, allocations: 36.27 MB / 1.035 GB, free: 172 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007116/0.9805, allocations: 3.489 MB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01389/0.9944, allocations: 5.913 MB / 1.044 GB, free: 6.684 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007242/1.002, allocations: 3.501 MB / 1.047 GB, free: 3.176 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001989/1.004, allocations: 495.9 kB / 1.048 GB, free: 2.691 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5278/1.531, allocations: 5.667 MB / 1.053 GB, free: 43.07 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004646/1.536, allocations: 2.484 MB / 1.056 GB, free: 43.07 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.01107/1.547, allocations: 3.342 MB / 1.059 GB, free: 43.07 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02084/1.568, allocations: 10.83 MB / 1.07 GB, free: 42.18 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/1.568, allocations: 1 kB / 1.07 GB, free: 42.18 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.643e-06/1.568, allocations: 0 / 1.07 GB, free: 42.18 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002532/1.568, allocations: 1.938 kB / 1.07 GB, free: 42.18 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.0185/1.587, allocations: 7.146 MB / 1.077 GB, free: 38.96 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/1.587, allocations: 11.59 kB / 1.077 GB, free: 38.96 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009924/1.597, allocations: 1.746 MB / 1.078 GB, free: 38.62 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01575/1.613, allocations: 8.493 MB / 1.087 GB, free: 37.52 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000266/1.613, allocations: 192.6 kB / 1.087 GB, free: 37.52 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009124/1.614, allocations: 265.2 kB / 1.087 GB, free: 37.51 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006843/1.621, allocations: 3.577 MB / 1.091 GB, free: 37.2 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.047e-05/1.621, allocations: 2.719 kB / 1.091 GB, free: 37.2 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/1.621, allocations: 103.3 kB / 1.091 GB, free: 37.2 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-05/1.621, allocations: 79.25 kB / 1.091 GB, free: 37.19 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004857/1.626, allocations: 2.667 MB / 1.093 GB, free: 37.16 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.02033/1.646, allocations: 15.23 MB / 1.108 GB, free: 30.98 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003917/1.65, allocations: 2.116 MB / 1.11 GB, free: 30.93 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001847/1.652, allocations: 1.135 MB / 1.111 GB, free: 30.92 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003028/1.653, allocations: 214.1 kB / 1.112 GB, free: 30.73 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002565/1.655, allocations: 1.736 MB / 1.113 GB, free: 30.66 MB / 0.795 GB Notification: Performance of pre-optimization done (n=137): time 4.558e-06/1.655, allocations: 0 / 1.113 GB, free: 30.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=137): time 0.008122/1.663, allocations: 3.558 MB / 1.117 GB, free: 30.21 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/1.663, allocations: 69.77 kB / 1.117 GB, free: 30.14 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01015/1.673, allocations: 6.527 MB / 1.123 GB, free: 29.69 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0007063/1.674, allocations: 65.98 kB / 1.123 GB, free: 29.66 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001936/1.676, allocations: 2.389 MB / 1.126 GB, free: 29.14 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006975/1.677, allocations: 0.4908 MB / 1.126 GB, free: 28.84 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/1.678, allocations: 0.8145 MB / 1.127 GB, free: 28.79 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 5.096e-05/1.678, allocations: 302 kB / 1.127 GB, free: 28.49 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003262/1.681, allocations: 2.567 MB / 1.13 GB, free: 28.46 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00368/1.685, allocations: 3.594 MB / 1.133 GB, free: 27.42 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006294/1.691, allocations: 5.832 MB / 1.139 GB, free: 26.52 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/1.691, allocations: 7.938 kB / 1.139 GB, free: 26.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.009861/1.701, allocations: 6.921 MB / 1.146 GB, free: 26.09 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.926e-05/1.701, allocations: 40.86 kB / 1.146 GB, free: 26.05 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/1.701, allocations: 27.5 kB / 1.146 GB, free: 26.05 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007042/1.702, allocations: 417.3 kB / 1.146 GB, free: 26.04 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/1.705, allocations: 0.7039 MB / 1.147 GB, free: 26.04 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00253/1.708, allocations: 3.253 MB / 1.15 GB, free: 23.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00503/1.713, allocations: 426.1 kB / 1.15 GB, free: 23.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003603/1.713, allocations: 183.3 kB / 1.151 GB, free: 23.57 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005732/1.719, allocations: 3.569 MB / 1.154 GB, free: 22.01 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003446/1.722, allocations: 3.298 MB / 1.157 GB, free: 18.83 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005602/1.728, allocations: 5.223 MB / 1.162 GB, free: 13.9 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.067e-05/1.728, allocations: 4 kB / 1.162 GB, free: 13.89 MB / 0.795 GB Notification: Performance of matching and sorting (n=478) (initialization_lambda0): time 0.00927/1.737, allocations: 6.321 MB / 1.169 GB, free: 7.934 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.079e-05/1.737, allocations: 42.14 kB / 1.169 GB, free: 7.887 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.769e-05/1.737, allocations: 28 kB / 1.169 GB, free: 7.859 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/1.738, allocations: 457.4 kB / 1.169 GB, free: 7.41 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/1.741, allocations: 0.6898 MB / 1.17 GB, free: 6.762 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007224/1.748, allocations: 6.174 MB / 1.176 GB, free: 416 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005471/1.754, allocations: 360.7 kB / 1.176 GB, free: 52 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005072/1.754, allocations: 164 kB / 1.176 GB, free: 15.89 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.001006/1.755, allocations: 354.1 kB / 1.177 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001877/1.757, allocations: 0.5034 MB / 1.177 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006643/1.764, allocations: 2.716 MB / 1.18 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/1.764, allocations: 12 kB / 1.18 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.764, allocations: 0 / 1.18 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004089/1.768, allocations: 2.335 MB / 1.182 GB, free: 9.934 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/1.785, allocations: 6.485 MB / 1.188 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/1.785, allocations: 4 kB / 1.188 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002269/1.787, allocations: 445.9 kB / 1.189 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004014/1.788, allocations: 171 kB / 1.189 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/1.788, allocations: 39.98 kB / 1.189 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/1.79, allocations: 3.021 MB / 1.192 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.79, allocations: 0 / 1.192 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008337/1.798, allocations: 4.036 MB / 1.196 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003604/1.802, allocations: 0.8494 MB / 1.197 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002018/1.804, allocations: 43.69 kB / 1.197 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00404/1.808, allocations: 127.9 kB / 1.197 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/1.808, allocations: 101.2 kB / 1.197 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001914/1.809, allocations: 63.97 kB / 1.197 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.01056/1.819, allocations: 4.471 MB / 1.201 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.042e-06/1.819, allocations: 0 / 1.201 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0112/1.83, allocations: 2.378 MB / 1.204 GB, free: 3.551 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.002356/1.833, allocations: 0.6747 MB / 1.204 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0142/1.847, allocations: 7.288 MB / 1.212 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/1.847, allocations: 0 / 1.212 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002764/1.85, allocations: 1.168 MB / 1.213 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01689/1.867, allocations: 3.021 MB / 1.216 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/1.89, allocations: 9.937 MB / 1.225 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005175/1.895, allocations: 3.138 MB / 1.228 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002011/1.897, allocations: 391.3 kB / 1.229 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of SimCode: time 1.152e-06/1.897, allocations: 0 / 1.229 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of Templates: time 0.2331/2.13, allocations: 182.3 MB / 1.407 GB, free: 4.57 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)