Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001403/0.001406, allocations: 185.2 kB / 15.76 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6839/0.6839, allocations: 82.92 MB / 99.42 MB, free: 3.32 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.4 MB / 325.4 MB, free: 3.344 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 98.84 kB / 393.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004579/0.0004581, allocations: 16 kB / 471.5 MB, free: 66.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09075/0.09124, allocations: 67.44 MB / 0.5263 GB, free: 15.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.ControlledFlowMachine): time 1.211/1.302, allocations: 300.9 MB / 0.8201 GB, free: 9.102 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.07233/1.374, allocations: 45.25 MB / 0.8643 GB, free: 8.648 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007234/1.382, allocations: 144.8 kB / 0.8645 GB, free: 8.648 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.009488/1.391, allocations: 2.625 MB / 0.867 GB, free: 8.641 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.02648/1.418, allocations: 7.596 MB / 0.8745 GB, free: 8.535 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01958/1.437, allocations: 5.239 MB / 0.8796 GB, free: 8.367 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01523/1.453, allocations: 7.5 MB / 0.8869 GB, free: 7.988 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007263/1.46, allocations: 3.424 MB / 0.8902 GB, free: 6.773 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01464/1.475, allocations: 5.313 MB / 0.8954 GB, free: 5.922 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006004/1.481, allocations: 2.738 MB / 0.8981 GB, free: 5.434 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001728/1.482, allocations: 235.9 kB / 0.8983 GB, free: 5.434 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01164/1.494, allocations: 3.03 MB / 0.9013 GB, free: 4.98 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.003375/1.497, allocations: 2.044 MB / 0.9033 GB, free: 4.426 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003404/1.501, allocations: 1.358 MB / 0.9046 GB, free: 4.395 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0131/1.514, allocations: 8.3 MB / 0.9127 GB, free: 36 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/1.514, allocations: 0 / 0.9127 GB, free: 36 kB / 0.573 GB Notification: Performance of FrontEnd: time 3.741e-06/1.514, allocations: 0 / 0.9127 GB, free: 36 kB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002404/1.514, allocations: 2.406 kB / 0.9127 GB, free: 36 kB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 744 * Number of variables: 744 Notification: Performance of Generate backend data structure: time 0.0191/1.533, allocations: 6.879 MB / 0.9194 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/1.533, allocations: 14.77 kB / 0.9194 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/1.545, allocations: 1.459 MB / 0.9209 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02347/1.569, allocations: 10.89 MB / 0.9315 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003586/1.569, allocations: 259.4 kB / 0.9318 GB, free: 1.477 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001163/1.57, allocations: 341.8 kB / 0.9321 GB, free: 1.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/1.582, allocations: 3.928 MB / 0.9359 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/1.582, allocations: 6.531 kB / 0.9359 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006003/1.582, allocations: 123.7 kB / 0.936 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001476/1.583, allocations: 105.6 kB / 0.9361 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008778/1.591, allocations: 2.805 MB / 0.9389 GB, free: 12.48 MB / 0.6042 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.03578/1.627, allocations: 17.96 MB / 0.9564 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006009/1.633, allocations: 2.144 MB / 0.9585 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/1.633, allocations: 50.59 kB / 0.9586 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004009/1.637, allocations: 1.599 MB / 0.9601 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003015/1.641, allocations: 376.1 kB / 0.9605 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=176): time 1.009e-05/1.641, allocations: 7.469 kB / 0.9605 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=176): time 0.01212/1.653, allocations: 3.645 MB / 0.964 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/1.653, allocations: 156.3 kB / 0.9642 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01717/1.67, allocations: 8.547 MB / 0.9725 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0006114/1.671, allocations: 93.03 kB / 0.9726 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003554/1.674, allocations: 2.67 MB / 0.9752 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001127/1.675, allocations: 0.6098 MB / 0.9758 GB, free: 168 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/1.676, allocations: 53.48 kB / 0.9759 GB, free: 156 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003535/1.676, allocations: 421.8 kB / 0.9763 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003075/1.679, allocations: 1.269 MB / 0.9775 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004476/1.684, allocations: 2.47 MB / 0.9799 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003999/1.688, allocations: 1.618 MB / 0.9815 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.639e-05/1.688, allocations: 8 kB / 0.9815 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01112/1.699, allocations: 4.275 MB / 0.9857 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.007572/1.707, allocations: 15.04 MB / 1 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001134/1.707, allocations: 28 kB / 1 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/1.708, allocations: 290.9 kB / 1.001 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004332/1.712, allocations: 0.646 MB / 1.001 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004764/1.717, allocations: 3.75 MB / 1.005 GB, free: 4.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005903/1.723, allocations: 323.6 kB / 1.005 GB, free: 4.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008463/1.724, allocations: 242.5 kB / 1.006 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.724, allocations: 4 kB / 1.006 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01094/1.735, allocations: 4.638 MB / 1.01 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001124/1.735, allocations: 35.98 kB / 1.01 GB, free: 1.137 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002276/1.737, allocations: 0.6623 MB / 1.011 GB, free: 480 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003599/1.741, allocations: 0.6276 MB / 1.011 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01726/1.758, allocations: 8.699 MB / 1.02 GB, free: 6.855 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005816/1.764, allocations: 319.5 kB / 1.02 GB, free: 6.551 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000805/1.765, allocations: 204 kB / 1.02 GB, free: 6.352 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 312 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.004353/1.769, allocations: 1.54 MB / 1.022 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/1.771, allocations: 0.5245 MB / 1.022 GB, free: 4.312 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008914/1.78, allocations: 2.915 MB / 1.025 GB, free: 1.387 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/1.78, allocations: 19.95 kB / 1.025 GB, free: 1.367 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.532e-06/1.78, allocations: 6.625 kB / 1.025 GB, free: 1.363 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006088/1.786, allocations: 2.464 MB / 1.028 GB, free: 14.82 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.01982/1.806, allocations: 7.127 MB / 1.035 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/1.806, allocations: 7.984 kB / 1.035 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003291/1.809, allocations: 499.4 kB / 1.035 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009639/1.81, allocations: 272.6 kB / 1.035 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003235/1.811, allocations: 51.98 kB / 1.035 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003453/1.814, allocations: 3.496 MB / 1.039 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.814, allocations: 4 kB / 1.039 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/1.827, allocations: 4.404 MB / 1.043 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003071/1.831, allocations: 0.8455 MB / 1.044 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/1.832, allocations: 43.98 kB / 1.044 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004703/1.837, allocations: 306 kB / 1.044 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005144/1.837, allocations: 132.8 kB / 1.044 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003068/1.837, allocations: 87.97 kB / 1.044 GB, free: 13.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.01287/1.85, allocations: 6.158 MB / 1.051 GB, free: 7.125 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.29e-06/1.85, allocations: 0 / 1.051 GB, free: 7.125 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01127/1.862, allocations: 2.572 MB / 1.053 GB, free: 4.551 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.x[1],fan1.filter.x[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1]) * 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 (174): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002051/1.864, allocations: 0.6337 MB / 1.054 GB, free: 3.977 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01633/1.88, allocations: 5.725 MB / 1.059 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/1.88, allocations: 6.25 kB / 1.059 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003721/1.884, allocations: 1.181 MB / 1.06 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01655/1.9, allocations: 3.177 MB / 1.063 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3474/2.248, allocations: 11.6 MB / 1.075 GB, free: 332 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007589/2.256, allocations: 3.422 MB / 1.078 GB, free: 331.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.01085/2.266, allocations: 1.486 MB / 1.08 GB, free: 331.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002055/2.269, allocations: 405.2 kB / 1.08 GB, free: 331.1 MB / 0.7136 GB Notification: Performance of SimCode: time 1.863e-06/2.269, allocations: 0 / 1.08 GB, free: 331.1 MB / 0.7136 GB Notification: Performance of Templates: time 0.2466/2.515, allocations: 119.4 MB / 1.197 GB, free: 241.1 MB / 0.7136 GB