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/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.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.0009008/0.0009008, allocations: 91.61 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.001118/0.001118, 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.287/1.287, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7424/0.7424, allocations: 132.4 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002852/0.0002852, allocations: 13 kB / 0.5034 GB, free: 4.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3467, allocations: 81.58 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.MoverStages): time 0.08098/0.4277, allocations: 87.61 MB / 0.6686 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03565/0.4634, allocations: 28.66 MB / 0.6966 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003419/0.4668, allocations: 131.2 kB / 0.6967 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003405/0.4703, allocations: 1.363 MB / 0.6981 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007682/0.478, allocations: 3.671 MB / 0.7017 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006485/0.4845, allocations: 2.898 MB / 0.7045 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01036/0.4948, allocations: 10.24 MB / 0.7145 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003312/0.4982, allocations: 2.634 MB / 0.7171 GB, free: 7.125 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004833/0.503, allocations: 3.12 MB / 0.7201 GB, free: 3.992 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003094/0.5061, allocations: 2.743 MB / 0.7228 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003539/0.5065, allocations: 168 kB / 0.7229 GB, free: 1.074 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003792/0.5103, allocations: 1.868 MB / 0.7248 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.5114, allocations: 1.421 MB / 0.7262 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008688/0.5123, allocations: 0.9796 MB / 0.7271 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005209/0.5175, allocations: 6.008 MB / 0.733 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5175, allocations: 0 / 0.733 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5175, allocations: 0 / 0.733 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.751e-05/0.5176, allocations: 0 / 0.733 GB, free: 6.77 MB / 0.5606 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.008378/0.526, allocations: 5.3 MB / 0.7382 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.526, allocations: 8.031 kB / 0.7382 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005436/0.5315, allocations: 1.34 MB / 0.7395 GB, free: 24 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008523/0.54, allocations: 5.034 MB / 0.7444 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006479/0.5407, allocations: 324.9 kB / 0.7447 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003252/0.541, allocations: 232 kB / 0.7449 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005253/0.5463, allocations: 3.113 MB / 0.748 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.393e-05/0.5463, allocations: 0 / 0.748 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/0.5465, allocations: 84 kB / 0.748 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.88e-05/0.5466, allocations: 52 kB / 0.7481 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005146/0.5517, allocations: 2.369 MB / 0.7504 GB, free: 4.625 MB / 0.5762 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.01513/0.5669, allocations: 12.57 MB / 0.7627 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/0.5713, allocations: 1.903 MB / 0.7645 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.5732, allocations: 0.8624 MB / 0.7654 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005392/0.5786, allocations: 4.542 MB / 0.7698 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002463/0.581, allocations: 1.418 MB / 0.7712 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007176/0.5818, allocations: 214 kB / 0.7714 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=87): time 2.234e-06/0.5818, allocations: 0 / 0.7714 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87): time 0.006094/0.5879, allocations: 2.841 MB / 0.7742 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.588, allocations: 119.8 kB / 0.7743 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005578/0.5935, allocations: 4.918 MB / 0.7791 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.5937, allocations: 61.7 kB / 0.7792 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001694/0.5954, allocations: 2.105 MB / 0.7812 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.5957, allocations: 307.7 kB / 0.7815 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.5958, allocations: 36 kB / 0.7815 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.596, allocations: 385.8 kB / 0.7819 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002254/0.5982, allocations: 1.136 MB / 0.783 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002822/0.6011, allocations: 2.13 MB / 0.7851 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.6035, allocations: 1.314 MB / 0.7864 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/0.6035, allocations: 8 kB / 0.7864 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.006361/0.6099, allocations: 3.532 MB / 0.7898 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004989/0.6104, allocations: 0.9337 MB / 0.7907 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.858e-05/0.6105, allocations: 28 kB / 0.7908 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.517e-05/0.6105, allocations: 40 kB / 0.7908 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003253/0.6138, allocations: 0.6201 MB / 0.7914 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.616, allocations: 2.992 MB / 0.7943 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/0.6187, allocations: 229.5 kB / 0.7946 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000261/0.619, allocations: 179.9 kB / 0.7947 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.619, allocations: 4 kB / 0.7947 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005591/0.6246, allocations: 3.474 MB / 0.7981 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/0.6246, allocations: 28.12 kB / 0.7982 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.563e-05/0.6247, allocations: 48 kB / 0.7982 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00261/0.6273, allocations: 0.6241 MB / 0.7988 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-05/0.6273, allocations: 59.8 kB / 0.7989 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.6296, allocations: 217.1 kB / 0.7991 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002324/0.6299, allocations: 175.9 kB / 0.7992 GB, free: 0.6523 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.001805/0.6317, allocations: 1.169 MB / 0.8004 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000434/0.6321, allocations: 430.4 kB / 0.8008 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005621/0.6378, allocations: 2.737 MB / 0.8035 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.6378, allocations: 12 kB / 0.8035 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.6378, allocations: 0 / 0.8035 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.6378, allocations: 15.86 kB / 0.8035 GB, free: 12.27 MB / 0.6387 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.008784/0.6466, allocations: 5.327 MB / 0.8087 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.6466, allocations: 4.125 kB / 0.8087 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/0.6481, allocations: 295.6 kB / 0.809 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003218/0.6484, allocations: 141.7 kB / 0.8091 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.64e-05/0.6486, allocations: 43.95 kB / 0.8092 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.65, allocations: 2.675 MB / 0.8118 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.65, allocations: 0 / 0.8118 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004578/0.6546, allocations: 2.493 MB / 0.8142 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.6557, allocations: 0.6981 MB / 0.8149 GB, free: 368 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000433/0.6561, allocations: 24 kB / 0.8149 GB, free: 344 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/0.658, allocations: 195.7 kB / 0.8151 GB, free: 148 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.6581, allocations: 84.88 kB / 0.8152 GB, free: 60 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.244/0.9021, allocations: 61.11 kB / 0.8152 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.006449/0.9086, allocations: 3.356 MB / 0.8185 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9086, allocations: 1.375 kB / 0.8185 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005266/0.9139, allocations: 1.753 MB / 0.8202 GB, free: 203.2 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.001944/0.9158, allocations: 0.9081 MB / 0.8211 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00986/0.9257, allocations: 4.619 MB / 0.8256 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.9257, allocations: 0 / 0.8256 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002353/0.9281, allocations: 1.038 MB / 0.8266 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008334/0.9364, allocations: 2.195 MB / 0.8288 GB, free: 201 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.9477, allocations: 8.56 MB / 0.8371 GB, free: 196.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001789/0.9495, allocations: 2.609 MB / 0.8397 GB, free: 195.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00494/0.9545, allocations: 1.134 MB / 0.8408 GB, free: 195.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006892/0.9552, allocations: 319 kB / 0.8411 GB, free: 195.4 MB / 0.6387 GB Notification: Performance of SimCode: time 1.573e-06/0.9552, allocations: 0 / 0.8411 GB, free: 195.4 MB / 0.6387 GB Notification: Performance of Templates: time 0.1062/1.061, allocations: 87.37 MB / 0.9264 GB, free: 115.3 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.makefile (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)