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.001116/0.001116, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 194 kB / 16.53 MB, free: 6.391 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9301/0.9301, allocations: 135.1 MB / 425.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 56.47 kB / 0.5053 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1598, allocations: 80.93 MB / 0.5844 GB, free: 4.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.MoverStages): time 0.359/0.5189, allocations: 95.06 MB / 0.6772 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0471/0.566, allocations: 30.57 MB / 0.7071 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008062/0.5742, allocations: 156.8 kB / 0.7072 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.007054/0.5813, allocations: 2.057 MB / 0.7092 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01668/0.598, allocations: 4.554 MB / 0.7137 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01184/0.6099, allocations: 3.781 MB / 0.7174 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01495/0.6248, allocations: 9.013 MB / 0.7262 GB, free: 7.844 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00649/0.6314, allocations: 3.477 MB / 0.7296 GB, free: 5.555 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01157/0.643, allocations: 3.836 MB / 0.7333 GB, free: 3.293 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005514/0.6485, allocations: 2.866 MB / 0.7361 GB, free: 1.477 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00139/0.6499, allocations: 416.1 kB / 0.7365 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007607/0.6575, allocations: 2.722 MB / 0.7392 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002336/0.6599, allocations: 1.667 MB / 0.7408 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005636/0.6655, allocations: 2.604 MB / 0.7433 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01421/0.6798, allocations: 7.84 MB / 0.751 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6798, allocations: 0 / 0.751 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6798, allocations: 0 / 0.751 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002129/0.68, allocations: 0 / 0.751 GB, free: 2.352 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.01349/0.6935, allocations: 5.807 MB / 0.7567 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.6936, allocations: 12.03 kB / 0.7567 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00763/0.7013, allocations: 1.228 MB / 0.7579 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/0.7132, allocations: 5.085 MB / 0.7628 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008/0.7141, allocations: 296.9 kB / 0.7631 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006787/0.7148, allocations: 232 kB / 0.7633 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006936/0.7217, allocations: 3.082 MB / 0.7663 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.7e-05/0.7218, allocations: 0 / 0.7663 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003519/0.7221, allocations: 91.92 kB / 0.7664 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-05/0.7222, allocations: 52 kB / 0.7665 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006015/0.7282, allocations: 2.283 MB / 0.7687 GB, free: 15.87 MB / 0.5919 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.02398/0.7522, allocations: 12.79 MB / 0.7812 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005178/0.7574, allocations: 1.771 MB / 0.7829 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002018/0.7595, allocations: 0.7964 MB / 0.7837 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007876/0.7674, allocations: 4.414 MB / 0.788 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002795/0.7702, allocations: 1.348 MB / 0.7893 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=83): time 3.316e-06/0.7702, allocations: 0 / 0.7893 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83): time 0.007478/0.7777, allocations: 2.662 MB / 0.7919 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.7778, allocations: 119.8 kB / 0.792 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009377/0.7872, allocations: 5 MB / 0.7969 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004127/0.7877, allocations: 53.7 kB / 0.797 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002729/0.7904, allocations: 2.128 MB / 0.7991 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005484/0.791, allocations: 287.9 kB / 0.7993 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001218/0.7922, allocations: 499.1 kB / 0.7998 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.7923, allocations: 305.1 kB / 0.8001 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003159/0.7955, allocations: 1.598 MB / 0.8017 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003903/0.7994, allocations: 2.541 MB / 0.8041 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006909/0.8063, allocations: 4.022 MB / 0.8081 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-05/0.8064, allocations: 16 kB / 0.8081 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.009468/0.8159, allocations: 4.417 MB / 0.8124 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.8159, allocations: 18.19 kB / 0.8124 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-05/0.816, allocations: 28 kB / 0.8124 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-05/0.816, allocations: 40 kB / 0.8125 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003589/0.8196, allocations: 0.5863 MB / 0.8131 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003212/0.8229, allocations: 2.988 MB / 0.816 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004062/0.827, allocations: 321.9 kB / 0.8163 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004922/0.8275, allocations: 179.9 kB / 0.8165 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004829/0.8323, allocations: 2.253 MB / 0.8187 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003452/0.8358, allocations: 2.248 MB / 0.8208 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005707/0.8415, allocations: 3.456 MB / 0.8242 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.258e-05/0.8415, allocations: 12.56 kB / 0.8242 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of matching and sorting (n=253) (initialization_lambda0): time 0.007895/0.8494, allocations: 3.824 MB / 0.828 GB, free: 404 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.8495, allocations: 16 kB / 0.828 GB, free: 388 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.154e-05/0.8495, allocations: 28 kB / 0.828 GB, free: 360 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.592e-05/0.8496, allocations: 36 kB / 0.828 GB, free: 324 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002835/0.8524, allocations: 0.6205 MB / 0.8286 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.522e-05/0.8525, allocations: 55.8 kB / 0.8287 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003293/0.8558, allocations: 227.1 kB / 0.8289 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003718/0.8562, allocations: 177.5 kB / 0.8291 GB, free: 15.25 MB / 0.6544 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 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (222): * Single equations (assignments): 214 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008719/0.8571, allocations: 321.5 kB / 0.8294 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001457/0.8585, allocations: 426.4 kB / 0.8298 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007316/0.8658, allocations: 2.604 MB / 0.8323 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.8659, allocations: 11.98 kB / 0.8324 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.8659, allocations: 0 / 0.8324 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.8659, allocations: 7.984 kB / 0.8324 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/0.8795, allocations: 5.136 MB / 0.8374 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.8795, allocations: 0 / 0.8374 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/0.8812, allocations: 283.7 kB / 0.8376 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004884/0.8817, allocations: 141.7 kB / 0.8378 GB, free: 6.227 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/0.8819, allocations: 43.95 kB / 0.8378 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/0.8838, allocations: 2.671 MB / 0.8404 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.8838, allocations: 0 / 0.8404 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005788/0.8896, allocations: 2.403 MB / 0.8428 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/0.8915, allocations: 0.6825 MB / 0.8434 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/0.8926, allocations: 31.92 kB / 0.8435 GB, free: 240 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002368/0.895, allocations: 111.8 kB / 0.8436 GB, free: 128 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.8952, allocations: 76.89 kB / 0.8437 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/0.8954, allocations: 71.94 kB / 0.8437 GB, free: 15.98 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006334/0.9017, allocations: 3.423 MB / 0.8471 GB, free: 12.58 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9017, allocations: 0 / 0.8471 GB, free: 12.58 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00691/0.9087, allocations: 1.758 MB / 0.8488 GB, free: 10.82 MB / 0.67 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 (106): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {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,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002456/0.9111, allocations: 0.982 MB / 0.8497 GB, free: 10.01 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01247/0.9236, allocations: 5.028 MB / 0.8547 GB, free: 4.992 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.9237, allocations: 4 kB / 0.8547 GB, free: 4.988 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00279/0.9265, allocations: 1.002 MB / 0.8556 GB, free: 3.992 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009527/0.936, allocations: 2.304 MB / 0.8579 GB, free: 1.73 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2872/1.223, allocations: 7.488 MB / 0.8652 GB, free: 206.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001835/1.225, allocations: 2.605 MB / 0.8677 GB, free: 205.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004804/1.23, allocations: 1.114 MB / 0.8688 GB, free: 205.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007381/1.231, allocations: 313.8 kB / 0.8691 GB, free: 205.2 MB / 0.67 GB Notification: Performance of SimCode: time 9.52e-07/1.231, allocations: 0 / 0.8691 GB, free: 205.2 MB / 0.67 GB Notification: Performance of Templates: time 0.1355/1.366, allocations: 93.03 MB / 0.96 GB, free: 156 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)