Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.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.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages") translateModel(IDEAS.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008661/0.0008661, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.0008412/0.0008412, allocations: 177.3 kB / 15.95 MB, free: 216 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.195/1.195, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8152/0.8152, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002838, allocations: 9.094 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 82.31 MB / 0.5872 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.MoverStages): time 0.3007/0.4389, allocations: 79.7 MB / 0.665 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03479/0.4737, allocations: 26.67 MB / 0.6911 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005556/0.4793, allocations: 121.8 kB / 0.6912 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.006306/0.4857, allocations: 1.634 MB / 0.6928 GB, free: 288 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01654/0.5022, allocations: 4.61 MB / 0.6973 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.011/0.5132, allocations: 3.726 MB / 0.7009 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01162/0.5249, allocations: 5.456 MB / 0.7063 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004817/0.5297, allocations: 2.67 MB / 0.7089 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006523/0.5363, allocations: 2.767 MB / 0.7116 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00468/0.541, allocations: 1.934 MB / 0.7135 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009199/0.5419, allocations: 160.5 kB / 0.7136 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006376/0.5483, allocations: 1.775 MB / 0.7153 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001737/0.5501, allocations: 1.282 MB / 0.7166 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.552, allocations: 0.9901 MB / 0.7176 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008522/0.5605, allocations: 5.983 MB / 0.7234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.5605, allocations: 0 / 0.7234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.445e-06/0.5605, allocations: 0 / 0.7234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001529/0.5607, allocations: 0 / 0.7234 GB, free: 15.35 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01073/0.5714, allocations: 5.371 MB / 0.7286 GB, free: 11.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.5715, allocations: 12.03 kB / 0.7287 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006227/0.5777, allocations: 1.336 MB / 0.73 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01488/0.5926, allocations: 8.682 MB / 0.7384 GB, free: 1.242 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007228/0.5934, allocations: 320.9 kB / 0.7387 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005269/0.5939, allocations: 240 kB / 0.739 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005489/0.5994, allocations: 2.945 MB / 0.7419 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/0.5995, allocations: 0 / 0.7419 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/0.5997, allocations: 87.94 kB / 0.7419 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/0.5997, allocations: 52 kB / 0.742 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005142/0.6049, allocations: 2.209 MB / 0.7441 GB, free: 11.26 MB / 0.5606 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.01983/0.6248, allocations: 12.68 MB / 0.7565 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004924/0.6297, allocations: 1.731 MB / 0.7582 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008017/0.6378, allocations: 4.414 MB / 0.7625 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00247/0.6403, allocations: 1.27 MB / 0.7638 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001758/0.6421, allocations: 229.8 kB / 0.764 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=87): time 4.799e-06/0.6421, allocations: 0 / 0.764 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87): time 0.006743/0.6488, allocations: 2.615 MB / 0.7665 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.6489, allocations: 115.8 kB / 0.7666 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009818/0.6588, allocations: 7.145 MB / 0.7736 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004694/0.6593, allocations: 61.7 kB / 0.7737 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001914/0.6612, allocations: 2.149 MB / 0.7758 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004764/0.6617, allocations: 311.6 kB / 0.7761 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.6618, allocations: 31.98 kB / 0.7761 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.662, allocations: 389.9 kB / 0.7765 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002335/0.6643, allocations: 1.054 MB / 0.7775 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003343/0.6677, allocations: 2.029 MB / 0.7795 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00262/0.6703, allocations: 1.24 MB / 0.7807 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.336e-05/0.6704, allocations: 8 kB / 0.7807 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.007148/0.6775, allocations: 3.38 MB / 0.784 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.005414/0.683, allocations: 13.37 MB / 0.7971 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.847e-05/0.6831, allocations: 28 kB / 0.7971 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.739e-05/0.6831, allocations: 44 kB / 0.7971 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003633/0.6868, allocations: 0.624 MB / 0.7977 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.6893, allocations: 2.992 MB / 0.8007 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003453/0.6928, allocations: 229.1 kB / 0.8009 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004143/0.6932, allocations: 203.9 kB / 0.8011 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.6932, allocations: 4 kB / 0.8011 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00587/0.6991, allocations: 3.317 MB / 0.8043 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.098e-05/0.6992, allocations: 28 kB / 0.8044 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.871e-05/0.6992, allocations: 47.95 kB / 0.8044 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/0.7019, allocations: 0.6323 MB / 0.805 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-05/0.7019, allocations: 59.78 kB / 0.8051 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003043/0.705, allocations: 209 kB / 0.8053 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003054/0.7053, allocations: 191.9 kB / 0.8055 GB, free: 9.848 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 218 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002374/0.7077, allocations: 1.169 MB / 0.8066 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008577/0.7085, allocations: 438.3 kB / 0.807 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006087/0.7146, allocations: 2.62 MB / 0.8096 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/0.7147, allocations: 12 kB / 0.8096 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.7147, allocations: 4 kB / 0.8096 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.7147, allocations: 11.97 kB / 0.8096 GB, free: 5.574 MB / 0.6231 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.01075/0.7254, allocations: 5.426 MB / 0.8149 GB, free: 28 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.7255, allocations: 3.953 kB / 0.8149 GB, free: 24 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/0.7269, allocations: 307.7 kB / 0.8152 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003138/0.7272, allocations: 145.6 kB / 0.8153 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.659e-05/0.7273, allocations: 43.95 kB / 0.8154 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.7288, allocations: 2.679 MB / 0.818 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7288, allocations: 0 / 0.818 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005456/0.7343, allocations: 2.465 MB / 0.8204 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002253/0.7366, allocations: 0.7488 MB / 0.8211 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006906/0.7373, allocations: 24 kB / 0.8212 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002183/0.7395, allocations: 215.5 kB / 0.8214 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.7396, allocations: 76.89 kB / 0.8214 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/0.7398, allocations: 83.86 kB / 0.8215 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.006767/0.7466, allocations: 5.124 MB / 0.8265 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7466, allocations: 0 / 0.8265 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006019/0.7526, allocations: 1.797 MB / 0.8283 GB, free: 2.168 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002097/0.7547, allocations: 0.9711 MB / 0.8292 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0101/0.7648, allocations: 4.376 MB / 0.8335 GB, free: 13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.7649, allocations: 4 kB / 0.8335 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002531/0.7674, allocations: 0.9717 MB / 0.8344 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00863/0.7761, allocations: 2.184 MB / 0.8366 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.7896, allocations: 8.44 MB / 0.8448 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002178/0.7918, allocations: 2.699 MB / 0.8475 GB, free: 14.65 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00536/0.7972, allocations: 1.204 MB / 0.8486 GB, free: 13.44 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.7982, allocations: 355.3 kB / 0.849 GB, free: 13.09 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/0.7983, allocations: 4 kB / 0.849 GB, free: 13.09 MB / 0.67 GB Notification: Performance of Templates: time 0.3362/1.134, allocations: 90.13 MB / 0.937 GB, free: 174.8 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.sim & ./IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.pipe 2>&1) Environment - environmentSimulation: