Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009386/0.0009385, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001046/0.001046, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9701/0.9701, allocations: 135.3 MB / 426.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003585, allocations: 13.34 kB / 0.507 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1641, allocations: 82.31 MB / 0.5874 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine): time 1.087/1.251, allocations: 341.3 MB / 0.9207 GB, free: 9.863 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.06632/1.317, allocations: 44.52 MB / 0.9641 GB, free: 9.164 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009955/1.327, allocations: 150.9 kB / 0.9643 GB, free: 9.164 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.009651/1.337, allocations: 1.951 MB / 0.9662 GB, free: 9.137 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02332/1.36, allocations: 6.582 MB / 0.9726 GB, free: 8.824 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0112/1.372, allocations: 3.175 MB / 0.9757 GB, free: 8.512 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02112/1.393, allocations: 14.99 MB / 0.9904 GB, free: 5.578 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008893/1.402, allocations: 3.369 MB / 0.9937 GB, free: 4.355 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.019/1.421, allocations: 5.82 MB / 0.9993 GB, free: 3.336 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008877/1.43, allocations: 4.096 MB / 1.003 GB, free: 2.133 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002109/1.432, allocations: 239.8 kB / 1.004 GB, free: 2.133 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01276/1.444, allocations: 3.554 MB / 1.007 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00485/1.449, allocations: 2.294 MB / 1.009 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004575/1.454, allocations: 1.345 MB / 1.011 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01643/1.47, allocations: 8.569 MB / 1.019 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.47, allocations: 0 / 1.019 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.194e-06/1.471, allocations: 0 / 1.019 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004313/1.471, allocations: 0 / 1.019 GB, free: 6.531 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.01866/1.49, allocations: 6.89 MB / 1.026 GB, free: 112 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/1.49, allocations: 8.031 kB / 1.026 GB, free: 104 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009537/1.499, allocations: 1.44 MB / 1.027 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/1.512, allocations: 5.906 MB / 1.033 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003149/1.513, allocations: 257.5 kB / 1.033 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001064/1.514, allocations: 348.5 kB / 1.033 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008474/1.522, allocations: 4.107 MB / 1.037 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.771e-05/1.522, allocations: 0 / 1.037 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004373/1.523, allocations: 123.1 kB / 1.038 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/1.523, allocations: 116.3 kB / 1.038 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005785/1.529, allocations: 3.008 MB / 1.041 GB, free: 5.258 MB / 0.7012 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.03013/1.559, allocations: 17.96 MB / 1.058 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005362/1.564, allocations: 2.35 MB / 1.06 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002614/1.567, allocations: 1.268 MB / 1.062 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005103/1.567, allocations: 226.9 kB / 1.062 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003159/1.571, allocations: 1.8 MB / 1.064 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003214/1.574, allocations: 368.3 kB / 1.064 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=176): time 1.025e-05/1.574, allocations: 0 / 1.064 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=176): time 0.009359/1.583, allocations: 3.972 MB / 1.068 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/1.583, allocations: 80.64 kB / 1.068 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/1.594, allocations: 5.686 MB / 1.074 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005886/1.595, allocations: 81.39 kB / 1.074 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00276/1.597, allocations: 2.619 MB / 1.076 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009473/1.598, allocations: 0.6148 MB / 1.077 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003137/1.599, allocations: 52 kB / 1.077 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002613/1.599, allocations: 424 kB / 1.077 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/1.601, allocations: 1.352 MB / 1.079 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003255/1.605, allocations: 2.55 MB / 1.081 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003095/1.608, allocations: 1.704 MB / 1.083 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.764e-05/1.608, allocations: 12 kB / 1.083 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=371) (initialization): time 0.00807/1.616, allocations: 4.442 MB / 1.087 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008226/1.617, allocations: 1.024 MB / 1.088 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.595e-05/1.617, allocations: 28 kB / 1.088 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/1.618, allocations: 315.5 kB / 1.088 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00302/1.621, allocations: 0.6318 MB / 1.089 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003576/1.624, allocations: 3.78 MB / 1.093 GB, free: 7.363 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004652/1.629, allocations: 315.8 kB / 1.093 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005142/1.63, allocations: 216 kB / 1.093 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/1.63, allocations: 4 kB / 1.093 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008248/1.638, allocations: 4.818 MB / 1.098 GB, free: 2.012 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.474e-05/1.638, allocations: 32 kB / 1.098 GB, free: 1.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/1.64, allocations: 0.6886 MB / 1.099 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002693/1.642, allocations: 0.624 MB / 1.099 GB, free: 0.6641 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/1.655, allocations: 8.799 MB / 1.108 GB, free: 7.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004704/1.66, allocations: 308.3 kB / 1.108 GB, free: 7.223 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007285/1.66, allocations: 200 kB / 1.108 GB, free: 7.027 MB / 0.7637 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 (320): * Single equations (assignments): 310 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * 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 6,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.003664/1.664, allocations: 1.527 MB / 1.11 GB, free: 5.492 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001466/1.666, allocations: 0.5167 MB / 1.11 GB, free: 4.969 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006641/1.672, allocations: 3.053 MB / 1.113 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.63e-05/1.672, allocations: 18.3 kB / 1.113 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/1.672, allocations: 0 / 1.113 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004139/1.676, allocations: 2.683 MB / 1.116 GB, free: 15.11 MB / 0.7794 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.01732/1.694, allocations: 7.348 MB / 1.123 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/1.694, allocations: 3.953 kB / 1.123 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00233/1.696, allocations: 490.5 kB / 1.124 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007146/1.697, allocations: 289.3 kB / 1.124 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/1.697, allocations: 51.97 kB / 1.124 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002716/1.7, allocations: 3.526 MB / 1.127 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.7, allocations: 4.031 kB / 1.127 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007733/1.708, allocations: 4.48 MB / 1.132 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002647/1.71, allocations: 0.8103 MB / 1.132 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001392/1.712, allocations: 39.98 kB / 1.133 GB, free: 13.78 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003681/1.715, allocations: 288.5 kB / 1.133 GB, free: 13.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/1.716, allocations: 121.8 kB / 1.133 GB, free: 13.38 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002282/1.716, allocations: 79.97 kB / 1.133 GB, free: 13.3 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.008145/1.724, allocations: 3.894 MB / 1.137 GB, free: 9.418 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.61e-07/1.724, allocations: 0 / 1.137 GB, free: 9.418 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01076/1.735, allocations: 2.537 MB / 1.139 GB, free: 6.879 MB / 0.795 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.s[1],fan1.filter.s[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 (172): * Single equations (assignments): 165 * 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 7,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001846/1.737, allocations: 0.5998 MB / 1.14 GB, free: 6.312 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01296/1.75, allocations: 5.934 MB / 1.146 GB, free: 356 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/1.75, allocations: 7.844 kB / 1.146 GB, free: 348 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00289/1.753, allocations: 1.274 MB / 1.147 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01721/1.77, allocations: 3.186 MB / 1.15 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02445/1.794, allocations: 11.76 MB / 1.162 GB, free: 124 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3502/2.145, allocations: 3.308 MB / 1.165 GB, free: 333.5 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.007357/2.152, allocations: 1.396 MB / 1.166 GB, free: 333.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/2.154, allocations: 361.8 kB / 1.166 GB, free: 333.4 MB / 0.8106 GB Notification: Performance of SimCode: time 3.016e-06/2.154, allocations: 0 / 1.166 GB, free: 333.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.2095/2.363, allocations: 116.8 MB / 1.28 GB, free: 270.4 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)