Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001183/0.001183, allocations: 104.2 kB / 16.4 MB, free: 6.5 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.001192/0.001191, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7886/0.7886, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.34 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1433, allocations: 80.21 MB / 0.6604 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine): time 0.7263/0.8696, allocations: 373.1 MB / 1.025 GB, free: 172 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.6404/1.51, allocations: 47.68 MB / 1.071 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01026/1.52, allocations: 183.5 kB / 1.071 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.009238/1.53, allocations: 3.026 MB / 1.074 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02472/1.554, allocations: 8.891 MB / 1.083 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01244/1.567, allocations: 4.308 MB / 1.087 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0215/1.588, allocations: 12.94 MB / 1.1 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01037/1.599, allocations: 4.535 MB / 1.104 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01871/1.618, allocations: 7.452 MB / 1.112 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009272/1.627, allocations: 4.103 MB / 1.116 GB, free: 292 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002644/1.63, allocations: 0.5432 MB / 1.116 GB, free: 292 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01649/1.646, allocations: 6.773 MB / 1.123 GB, free: 228 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.004509/1.651, allocations: 2.581 MB / 1.125 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00894/1.66, allocations: 3.553 MB / 1.129 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.02446/1.684, allocations: 11.8 MB / 1.14 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/1.684, allocations: 3.844 kB / 1.14 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.913e-06/1.684, allocations: 0 / 1.14 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0004364/1.685, allocations: 0 / 1.14 GB, free: 13.52 MB / 0.8262 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.02492/1.709, allocations: 7.551 MB / 1.148 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/1.71, allocations: 14.78 kB / 1.148 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/1.72, allocations: 1.435 MB / 1.149 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01459/1.735, allocations: 6.254 MB / 1.155 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003226/1.735, allocations: 264.8 kB / 1.155 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001592/1.737, allocations: 339.4 kB / 1.156 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008471/1.745, allocations: 4.111 MB / 1.16 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.385e-05/1.745, allocations: 6.125 kB / 1.16 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003119/1.746, allocations: 116.7 kB / 1.16 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.606e-05/1.746, allocations: 114.8 kB / 1.16 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004978/1.751, allocations: 2.936 MB / 1.163 GB, free: 4.766 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 preOpt removeSimpleEquations (simulation): time 0.02615/1.777, allocations: 18.09 MB / 1.181 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004051/1.781, allocations: 2.226 MB / 1.183 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/1.783, allocations: 1.239 MB / 1.184 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000341/1.783, allocations: 226.8 kB / 1.184 GB, free: 1.664 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002417/1.786, allocations: 1.75 MB / 1.186 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=168): time 3.897e-06/1.786, allocations: 0 / 1.186 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=168): time 0.008743/1.794, allocations: 3.89 MB / 1.19 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/1.795, allocations: 73.41 kB / 1.19 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009236/1.804, allocations: 5.733 MB / 1.195 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0008096/1.805, allocations: 77.7 kB / 1.195 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.002565/1.807, allocations: 2.628 MB / 1.198 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001079/1.808, allocations: 0.5872 MB / 1.199 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/1.809, allocations: 0.6166 MB / 1.199 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/1.809, allocations: 301.1 kB / 1.199 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002773/1.812, allocations: 2.014 MB / 1.201 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003518/1.816, allocations: 3.149 MB / 1.205 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006205/1.822, allocations: 5.143 MB / 1.21 GB, free: 6.84 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/1.822, allocations: 11.94 kB / 1.21 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of matching and sorting (n=363) (initialization): time 0.00902/1.831, allocations: 5.896 MB / 1.215 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.034e-05/1.831, allocations: 45.7 kB / 1.215 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.133e-05/1.831, allocations: 32.84 kB / 1.215 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/1.832, allocations: 0.5834 MB / 1.216 GB, free: 424 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003146/1.836, allocations: 0.6213 MB / 1.217 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003464/1.839, allocations: 3.774 MB / 1.22 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005138/1.844, allocations: 340.8 kB / 1.221 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006951/1.845, allocations: 212 kB / 1.221 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005642/1.851, allocations: 2.957 MB / 1.224 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003606/1.854, allocations: 2.829 MB / 1.226 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006144/1.86, allocations: 4.48 MB / 1.231 GB, free: 352 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-05/1.86, allocations: 8 kB / 1.231 GB, free: 344 kB / 0.8887 GB Notification: Performance of matching and sorting (n=363) (initialization_lambda0): time 0.0103/1.871, allocations: 5.295 MB / 1.236 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.21e-05/1.871, allocations: 47.27 kB / 1.236 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.925e-05/1.871, allocations: 32 kB / 1.236 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/1.873, allocations: 0.6739 MB / 1.237 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/1.876, allocations: 0.6094 MB / 1.237 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/1.889, allocations: 9.584 MB / 1.247 GB, free: 15.99 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005983/1.895, allocations: 265.4 kB / 1.247 GB, free: 15.74 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/1.896, allocations: 196 kB / 1.247 GB, free: 15.55 MB / 0.92 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 (312): * Single equations (assignments): 302 * 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.00203/1.898, allocations: 365.9 kB / 1.247 GB, free: 15.22 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002248/1.9, allocations: 0.5206 MB / 1.248 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007916/1.908, allocations: 3.005 MB / 1.251 GB, free: 11.69 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/1.908, allocations: 16 kB / 1.251 GB, free: 11.67 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/1.908, allocations: 3.938 kB / 1.251 GB, free: 11.67 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004228/1.912, allocations: 2.638 MB / 1.253 GB, free: 8.945 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/1.93, allocations: 6.92 MB / 1.26 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.93, allocations: 4 kB / 1.26 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002401/1.932, allocations: 475.6 kB / 1.261 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007057/1.933, allocations: 287.3 kB / 1.261 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002451/1.933, allocations: 51.97 kB / 1.261 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/1.936, allocations: 3.525 MB / 1.264 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.936, allocations: 7.281 kB / 1.264 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008173/1.944, allocations: 4.432 MB / 1.269 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002913/1.947, allocations: 0.8141 MB / 1.27 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001785/1.949, allocations: 43.98 kB / 1.27 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003571/1.952, allocations: 75.92 kB / 1.27 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003188/1.953, allocations: 113.8 kB / 1.27 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000225/1.953, allocations: 78.7 kB / 1.27 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.009365/1.962, allocations: 3.937 MB / 1.274 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6.02e-07/1.962, allocations: 0 / 1.274 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.01171/1.974, allocations: 2.497 MB / 1.276 GB, free: 1.516 MB / 0.9356 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 (164): * Single equations (assignments): 157 * 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.002176/1.976, allocations: 0.5863 MB / 1.277 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01474/1.991, allocations: 6.533 MB / 1.283 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-05/1.991, allocations: 4.188 kB / 1.283 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002971/1.994, allocations: 1.247 MB / 1.284 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01921/2.013, allocations: 3.222 MB / 1.288 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02377/2.037, allocations: 10.3 MB / 1.298 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005819/2.043, allocations: 3.243 MB / 1.301 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/2.045, allocations: 371.4 kB / 1.301 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of SimCode: time 3.376e-06/2.045, allocations: 0 / 1.301 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of Templates: time 0.6643/2.709, allocations: 216.1 MB / 1.512 GB, free: 0.5192 GB / 1.092 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)