Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.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.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008733/0.0008733, allocations: 92.39 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.001048/0.001048, 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.494/1.494, allocations: 223.3 MB / 240 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9425/0.9425, allocations: 135.3 MB / 426.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003724, allocations: 8 kB / 0.507 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1857, allocations: 82.31 MB / 0.5874 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic): time 1.108/1.293, allocations: 341.3 MB / 0.9207 GB, free: 9.871 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.05901/1.353, allocations: 44.51 MB / 0.9641 GB, free: 9.176 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007263/1.36, allocations: 152.9 kB / 0.9643 GB, free: 9.176 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007102/1.367, allocations: 1.98 MB / 0.9662 GB, free: 9.148 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02159/1.389, allocations: 6.659 MB / 0.9727 GB, free: 8.832 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01078/1.399, allocations: 3.282 MB / 0.9759 GB, free: 8.516 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01978/1.419, allocations: 15.41 MB / 0.991 GB, free: 5.523 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006812/1.426, allocations: 3.613 MB / 0.9945 GB, free: 4.23 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01639/1.442, allocations: 5.956 MB / 1 GB, free: 3.191 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009789/1.452, allocations: 4.27 MB / 1.004 GB, free: 1.734 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002286/1.455, allocations: 255.2 kB / 1.005 GB, free: 1.734 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01557/1.47, allocations: 3.57 MB / 1.008 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005035/1.475, allocations: 2.362 MB / 1.011 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003843/1.479, allocations: 1.403 MB / 1.012 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01468/1.494, allocations: 8.968 MB / 1.021 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.494, allocations: 0 / 1.021 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.415e-06/1.494, allocations: 0 / 1.021 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002978/1.494, allocations: 4 kB / 1.021 GB, free: 5.262 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: 813 * Number of variables: 813 Notification: Performance of Generate backend data structure: time 0.01699/1.511, allocations: 7.213 MB / 1.028 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.511, allocations: 12.03 kB / 1.028 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/1.523, allocations: 1.729 MB / 1.029 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01575/1.538, allocations: 6.169 MB / 1.035 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004195/1.539, allocations: 280.5 kB / 1.036 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/1.54, allocations: 383.3 kB / 1.036 GB, free: 8.191 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/1.552, allocations: 4.409 MB / 1.04 GB, free: 5.141 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000115/1.552, allocations: 4 kB / 1.04 GB, free: 5.137 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006587/1.552, allocations: 129.2 kB / 1.04 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001673/1.553, allocations: 125.5 kB / 1.041 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006891/1.559, allocations: 3.299 MB / 1.044 GB, free: 2.777 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.03216/1.592, allocations: 18.82 MB / 1.062 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00554/1.597, allocations: 2.72 MB / 1.065 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002648/1.6, allocations: 1.51 MB / 1.066 GB, free: 404 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004666/1.6, allocations: 229.9 kB / 1.067 GB, free: 156 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003569/1.604, allocations: 1.956 MB / 1.068 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004649/1.609, allocations: 326.5 kB / 1.069 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=200): time 2.643e-05/1.609, allocations: 0 / 1.069 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=200): time 0.01185/1.621, allocations: 4.356 MB / 1.073 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/1.621, allocations: 81.3 kB / 1.073 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0137/1.634, allocations: 5.851 MB / 1.079 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001176/1.636, allocations: 85.7 kB / 1.079 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.004845/1.641, allocations: 2.748 MB / 1.082 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001956/1.643, allocations: 0.6951 MB / 1.082 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008537/1.643, allocations: 59.36 kB / 1.082 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0004575/1.644, allocations: 432.5 kB / 1.083 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003532/1.647, allocations: 1.478 MB / 1.084 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004468/1.652, allocations: 2.664 MB / 1.087 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003949/1.656, allocations: 1.824 MB / 1.089 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.164e-05/1.656, allocations: 8 kB / 1.089 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01082/1.667, allocations: 4.722 MB / 1.093 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008493/1.668, allocations: 1.007 MB / 1.094 GB, free: 6.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.058e-05/1.668, allocations: 28 kB / 1.094 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009899/1.669, allocations: 292.4 kB / 1.094 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003894/1.673, allocations: 0.7332 MB / 1.095 GB, free: 5.031 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003649/1.676, allocations: 3.745 MB / 1.099 GB, free: 1.164 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005617/1.682, allocations: 328.7 kB / 1.099 GB, free: 0.8438 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007715/1.683, allocations: 231.5 kB / 1.099 GB, free: 0.6211 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/1.683, allocations: 4 kB / 1.099 GB, free: 0.6172 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009536/1.692, allocations: 4.992 MB / 1.104 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.651e-05/1.693, allocations: 32 kB / 1.104 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/1.694, allocations: 0.6737 MB / 1.105 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003099/1.697, allocations: 0.7021 MB / 1.106 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/1.71, allocations: 8.233 MB / 1.114 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006602/1.716, allocations: 324.9 kB / 1.114 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/1.717, allocations: 200 kB / 1.114 GB, free: 1.078 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (348): * Single equations (assignments): 338 * 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 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.004966/1.722, allocations: 1.566 MB / 1.116 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002003/1.724, allocations: 0.5399 MB / 1.116 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0086/1.733, allocations: 3.364 MB / 1.12 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/1.733, allocations: 20 kB / 1.12 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/1.733, allocations: 3.984 kB / 1.12 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005278/1.738, allocations: 2.915 MB / 1.122 GB, free: 8.543 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.01898/1.758, allocations: 7.955 MB / 1.13 GB, free: 496 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.758, allocations: 7.938 kB / 1.13 GB, free: 488 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002665/1.76, allocations: 0.5386 MB / 1.131 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006983/1.761, allocations: 276 kB / 1.131 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002774/1.761, allocations: 67.95 kB / 1.131 GB, free: 15.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003168/1.764, allocations: 3.491 MB / 1.134 GB, free: 11.98 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/1.764, allocations: 4.031 kB / 1.134 GB, free: 11.98 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009687/1.774, allocations: 4.903 MB / 1.139 GB, free: 7.027 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003546/1.778, allocations: 0.8685 MB / 1.14 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002055/1.78, allocations: 51.97 kB / 1.14 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00486/1.785, allocations: 321.1 kB / 1.14 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003553/1.785, allocations: 125.8 kB / 1.141 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003357/1.785, allocations: 91.95 kB / 1.141 GB, free: 5.559 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.01161/1.797, allocations: 3.997 MB / 1.145 GB, free: 1.574 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.9e-07/1.797, allocations: 0 / 1.145 GB, free: 1.574 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01369/1.811, allocations: 2.674 MB / 1.147 GB, free: 14.89 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (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],fan3.filter.s[1],fan3.filter.s[2],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan2.filter.s[1],fan2.filter.s[2],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1],fan4.filter.s[1],fan4.filter.s[2]) * 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 (198): * Single equations (assignments): 191 * 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.002426/1.813, allocations: 0.6108 MB / 1.148 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01553/1.829, allocations: 6.364 MB / 1.154 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/1.829, allocations: 5.938 kB / 1.154 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.003937/1.833, allocations: 1.425 MB / 1.155 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01843/1.851, allocations: 3.233 MB / 1.159 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3773/2.229, allocations: 12.57 MB / 1.171 GB, free: 332.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003372/2.232, allocations: 3.441 MB / 1.174 GB, free: 331.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.007849/2.24, allocations: 1.486 MB / 1.176 GB, free: 331.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002137/2.242, allocations: 400.3 kB / 1.176 GB, free: 331.2 MB / 0.8106 GB Notification: Performance of SimCode: time 1.392e-06/2.242, allocations: 0.5469 kB / 1.176 GB, free: 331.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.1996/2.442, allocations: 120.9 MB / 1.294 GB, free: 258.7 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)