Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.Movers.Examples.MoverStages") translateModel(IDEAS.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008465/0.0008465, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.0009463/0.0009463, allocations: 168.7 kB / 15.95 MB, free: 204 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.435/1.435, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9854/0.9854, allocations: 135.3 MB / 426.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.000489, allocations: 9.938 kB / 0.507 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2387, allocations: 82.3 MB / 0.5874 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.MoverStages): time 0.441/0.6797, allocations: 87.59 MB / 0.6729 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.05743/0.7372, allocations: 28.67 MB / 0.7009 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01066/0.7479, allocations: 128.2 kB / 0.701 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.008158/0.7561, allocations: 1.374 MB / 0.7024 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.017/0.7732, allocations: 3.658 MB / 0.7059 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01188/0.7851, allocations: 2.902 MB / 0.7088 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.02118/0.8062, allocations: 10.24 MB / 0.7188 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007274/0.8136, allocations: 2.64 MB / 0.7213 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0112/0.8248, allocations: 3.112 MB / 0.7244 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007874/0.8327, allocations: 2.747 MB / 0.7271 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00167/0.8344, allocations: 168.3 kB / 0.7272 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009136/0.8436, allocations: 1.873 MB / 0.7291 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003657/0.8473, allocations: 1.413 MB / 0.7304 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003775/0.8511, allocations: 0.9916 MB / 0.7314 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.8628, allocations: 5.997 MB / 0.7373 GB, free: 3.234 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.8629, allocations: 3.984 kB / 0.7373 GB, free: 3.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.627e-06/0.8629, allocations: 0 / 0.7373 GB, free: 3.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003375/0.8632, allocations: 0 / 0.7373 GB, free: 3.23 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.01552/0.8787, allocations: 5.307 MB / 0.7425 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.8788, allocations: 8.031 kB / 0.7425 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006916/0.8857, allocations: 1.336 MB / 0.7438 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01424/0.9, allocations: 5.034 MB / 0.7487 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008334/0.9009, allocations: 320.9 kB / 0.749 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/0.9019, allocations: 236 kB / 0.7492 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00947/0.9114, allocations: 3.102 MB / 0.7522 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.958e-05/0.9115, allocations: 3.938 kB / 0.7522 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002992/0.9118, allocations: 84 kB / 0.7523 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.19e-05/0.9119, allocations: 52 kB / 0.7524 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006554/0.9184, allocations: 2.365 MB / 0.7547 GB, free: 1.098 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.02682/0.9453, allocations: 12.57 MB / 0.767 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005122/0.9505, allocations: 1.906 MB / 0.7688 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/0.9525, allocations: 0.8669 MB / 0.7697 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008807/0.9613, allocations: 4.528 MB / 0.7741 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002797/0.9641, allocations: 1.434 MB / 0.7755 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002036/0.9662, allocations: 206.2 kB / 0.7757 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=87): time 3.556e-06/0.9662, allocations: 0 / 0.7757 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87): time 0.007449/0.9737, allocations: 2.845 MB / 0.7785 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/0.9738, allocations: 111.8 kB / 0.7786 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008916/0.9827, allocations: 4.922 MB / 0.7834 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007043/0.9835, allocations: 61.7 kB / 0.7834 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002793/0.9863, allocations: 2.113 MB / 0.7855 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008159/0.9871, allocations: 299.7 kB / 0.7858 GB, free: 276 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.9873, allocations: 35.94 kB / 0.7858 GB, free: 240 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002412/0.9875, allocations: 385.9 kB / 0.7862 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002485/0.99, allocations: 1.144 MB / 0.7873 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003269/0.9933, allocations: 2.119 MB / 0.7894 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002808/0.9961, allocations: 1.318 MB / 0.7907 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.682e-05/0.9961, allocations: 8 kB / 0.7907 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.008256/1.004, allocations: 3.548 MB / 0.7941 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008892/1.005, allocations: 0.9258 MB / 0.795 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.994e-05/1.005, allocations: 28 kB / 0.7951 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.602e-05/1.005, allocations: 40 kB / 0.7951 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003457/1.009, allocations: 0.6085 MB / 0.7957 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002969/1.012, allocations: 3.004 MB / 0.7986 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00401/1.016, allocations: 225.3 kB / 0.7988 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005309/1.016, allocations: 183.9 kB / 0.799 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/1.017, allocations: 0 / 0.799 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006515/1.023, allocations: 3.474 MB / 0.8024 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.865e-05/1.023, allocations: 32.06 kB / 0.8024 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.932e-05/1.023, allocations: 44 kB / 0.8025 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/1.026, allocations: 0.6319 MB / 0.8031 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.077e-05/1.026, allocations: 55.8 kB / 0.8032 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003706/1.03, allocations: 213.2 kB / 0.8034 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003795/1.03, allocations: 172 kB / 0.8035 GB, free: 13.13 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.003126/1.033, allocations: 1.169 MB / 0.8047 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/1.034, allocations: 430.4 kB / 0.8051 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006385/1.041, allocations: 2.737 MB / 0.8077 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/1.041, allocations: 12 kB / 0.8078 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.041, allocations: 0 / 0.8078 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/1.041, allocations: 3.984 kB / 0.8078 GB, free: 8.758 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.01122/1.052, allocations: 5.349 MB / 0.813 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/1.052, allocations: 7.984 kB / 0.813 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/1.054, allocations: 287.7 kB / 0.8133 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003527/1.054, allocations: 137.6 kB / 0.8134 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.976e-05/1.054, allocations: 43.95 kB / 0.8134 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/1.056, allocations: 2.675 MB / 0.816 GB, free: 92 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.056, allocations: 8.094 kB / 0.8161 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005661/1.061, allocations: 2.485 MB / 0.8185 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001705/1.063, allocations: 0.6982 MB / 0.8192 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005955/1.064, allocations: 20 kB / 0.8192 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/1.066, allocations: 191.7 kB / 0.8194 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/1.066, allocations: 88.83 kB / 0.8195 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/1.066, allocations: 67.94 kB / 0.8195 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.005292/1.071, allocations: 3.357 MB / 0.8228 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.144e-06/1.071, allocations: 0 / 0.8228 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005577/1.077, allocations: 1.766 MB / 0.8245 GB, free: 7.371 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.002244/1.079, allocations: 0.905 MB / 0.8254 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01108/1.09, allocations: 4.615 MB / 0.8299 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.09, allocations: 4 kB / 0.8299 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002621/1.093, allocations: 1.042 MB / 0.8309 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01026/1.103, allocations: 2.188 MB / 0.8331 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/1.119, allocations: 8.56 MB / 0.8414 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002678/1.122, allocations: 2.621 MB / 0.844 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005929/1.128, allocations: 1.126 MB / 0.8451 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/1.129, allocations: 323.2 kB / 0.8454 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of SimCode: time 1.593e-06/1.129, allocations: 0 / 0.8454 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of Templates: time 0.4183/1.547, allocations: 87.35 MB / 0.9307 GB, free: 181.4 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.pipe 2>&1)