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.0007888/0.0007889, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.006104/0.006104, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.408/1.408, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9704/0.9704, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.000331, allocations: 13.02 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1834, allocations: 82.31 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine): time 1.175/1.358, allocations: 365.9 MB / 0.9453 GB, free: 1.637 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.06837/1.427, allocations: 47.4 MB / 0.9916 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01007/1.437, allocations: 163.8 kB / 0.9917 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.009508/1.447, allocations: 2.604 MB / 0.9943 GB, free: 76 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0287/1.475, allocations: 8.363 MB / 1.002 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01417/1.489, allocations: 3.891 MB / 1.006 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02731/1.517, allocations: 17.72 MB / 1.024 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009118/1.526, allocations: 3.805 MB / 1.027 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02191/1.548, allocations: 6.458 MB / 1.034 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01263/1.561, allocations: 4.178 MB / 1.038 GB, free: 4.016 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.003131/1.564, allocations: 240 kB / 1.038 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02212/1.586, allocations: 7.497 MB / 1.045 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.004598/1.591, allocations: 2.266 MB / 1.047 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.009813/1.6, allocations: 3.194 MB / 1.051 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02964/1.63, allocations: 11.73 MB / 1.062 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.63, allocations: 4 kB / 1.062 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.334e-06/1.63, allocations: 0 / 1.062 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003712/1.631, allocations: 0 / 1.062 GB, free: 12.45 MB / 0.7325 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.01858/1.649, allocations: 6.826 MB / 1.069 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/1.649, allocations: 8.031 kB / 1.069 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009669/1.659, allocations: 1.44 MB / 1.07 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01352/1.672, allocations: 6.099 MB / 1.076 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002724/1.673, allocations: 256.3 kB / 1.076 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/1.674, allocations: 336 kB / 1.077 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008404/1.682, allocations: 4.125 MB / 1.081 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.392e-05/1.682, allocations: 4 kB / 1.081 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003303/1.683, allocations: 120 kB / 1.081 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/1.683, allocations: 117.5 kB / 1.081 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007129/1.69, allocations: 3.028 MB / 1.084 GB, free: 5.98 MB / 0.7481 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.03385/1.724, allocations: 17.95 MB / 1.101 GB, free: 2.977 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004497/1.728, allocations: 2.359 MB / 1.104 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002067/1.73, allocations: 1.282 MB / 1.105 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003697/1.731, allocations: 229.7 kB / 1.105 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002825/1.734, allocations: 1.807 MB / 1.107 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003229/1.737, allocations: 362.2 kB / 1.107 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=176): time 6.643e-06/1.737, allocations: 0 / 1.107 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=176): time 0.009128/1.746, allocations: 3.991 MB / 1.111 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/1.746, allocations: 73.41 kB / 1.111 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/1.756, allocations: 5.726 MB / 1.117 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0008192/1.757, allocations: 77.7 kB / 1.117 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002746/1.76, allocations: 2.626 MB / 1.119 GB, free: 356 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009637/1.761, allocations: 0.6101 MB / 1.12 GB, free: 15.74 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004454/1.761, allocations: 283.7 kB / 1.12 GB, free: 15.46 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.762, allocations: 313.1 kB / 1.121 GB, free: 15.15 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/1.765, allocations: 2.016 MB / 1.123 GB, free: 13.13 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003873/1.768, allocations: 3.173 MB / 1.126 GB, free: 9.434 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006688/1.775, allocations: 5.197 MB / 1.131 GB, free: 3.805 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.078e-05/1.775, allocations: 8 kB / 1.131 GB, free: 3.797 MB / 0.795 GB Notification: Performance of matching and sorting (n=371) (initialization): time 0.01055/1.786, allocations: 5.989 MB / 1.137 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.00104/1.787, allocations: 1.037 MB / 1.138 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.811e-05/1.787, allocations: 28 kB / 1.138 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/1.788, allocations: 0.5863 MB / 1.138 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003609/1.792, allocations: 0.628 MB / 1.139 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003834/1.796, allocations: 3.78 MB / 1.142 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005981/1.802, allocations: 322 kB / 1.143 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007033/1.803, allocations: 219.6 kB / 1.143 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.803, allocations: 9.344 kB / 1.143 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009884/1.813, allocations: 4.841 MB / 1.148 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.812e-05/1.813, allocations: 36.95 kB / 1.148 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/1.814, allocations: 0.677 MB / 1.148 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/1.817, allocations: 0.6318 MB / 1.149 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/1.83, allocations: 8.777 MB / 1.158 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005568/1.836, allocations: 304.7 kB / 1.158 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000807/1.837, allocations: 200 kB / 1.158 GB, free: 6.805 MB / 0.8262 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 (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 (320): * Single equations (assignments): 310 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 2 systems {(1,6), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00403/1.841, allocations: 1.525 MB / 1.16 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001675/1.843, allocations: 0.5128 MB / 1.16 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006944/1.85, allocations: 3.072 MB / 1.163 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/1.85, allocations: 16 kB / 1.163 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.85, allocations: 0 / 1.163 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3918/2.241, allocations: 2.684 MB / 1.166 GB, free: 356.7 MB / 0.8262 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.01431/2.256, allocations: 7.339 MB / 1.173 GB, free: 355.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/2.256, allocations: 4.812 kB / 1.173 GB, free: 355.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002094/2.258, allocations: 492 kB / 1.173 GB, free: 355.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006313/2.259, allocations: 294.6 kB / 1.174 GB, free: 355.4 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/2.259, allocations: 50.92 kB / 1.174 GB, free: 355.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/2.261, allocations: 3.528 MB / 1.177 GB, free: 352.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/2.261, allocations: 0 / 1.177 GB, free: 352.3 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007611/2.268, allocations: 4.496 MB / 1.182 GB, free: 350.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003209/2.271, allocations: 0.8051 MB / 1.182 GB, free: 350.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009546/2.272, allocations: 40.44 kB / 1.182 GB, free: 350.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002881/2.275, allocations: 310.4 kB / 1.183 GB, free: 350.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/2.276, allocations: 116.1 kB / 1.183 GB, free: 350.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/2.276, allocations: 79.67 kB / 1.183 GB, free: 350.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0059/2.282, allocations: 3.936 MB / 1.187 GB, free: 348.9 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.41e-07/2.282, allocations: 0 / 1.187 GB, free: 348.9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.008803/2.29, allocations: 2.53 MB / 1.189 GB, free: 348.6 MB / 0.8262 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 (not torn): 3 * Torn equation systems: 2 * 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): 2 systems {(1,7), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001499/2.292, allocations: 0.5889 MB / 1.19 GB, free: 348.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01258/2.305, allocations: 6.609 MB / 1.196 GB, free: 346 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/2.305, allocations: 1.438 kB / 1.196 GB, free: 346 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002901/2.307, allocations: 1.278 MB / 1.197 GB, free: 345.6 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01846/2.326, allocations: 3.146 MB / 1.201 GB, free: 345.1 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01907/2.345, allocations: 12.22 MB / 1.212 GB, free: 338.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003467/2.349, allocations: 3.314 MB / 1.216 GB, free: 337.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.009098/2.358, allocations: 1.397 MB / 1.217 GB, free: 336.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001948/2.36, allocations: 363.9 kB / 1.217 GB, free: 336.9 MB / 0.8262 GB Notification: Performance of SimCode: time 1.242e-06/2.36, allocations: 0 / 1.217 GB, free: 336.9 MB / 0.8262 GB Notification: Performance of Templates: time 0.197/2.557, allocations: 120 MB / 1.335 GB, free: 239.8 MB / 0.8262 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)