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.001068/0.001068, allocations: 112.7 kB / 15.99 MB, free: 5.914 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.001099/0.001099, allocations: 189.4 kB / 16.9 MB, free: 5.758 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.287/1.287, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8075/0.8075, allocations: 132.2 MB / 422.9 MB, free: 6.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 63.91 kB / 0.5019 GB, free: 11.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/0.468, allocations: 80.19 MB / 0.5802 GB, free: 26.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.MoverStages): time 0.07913/0.5472, allocations: 94.21 MB / 0.6722 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04067/0.5879, allocations: 30.32 MB / 0.7018 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006063/0.594, allocations: 139.2 kB / 0.702 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006243/0.6002, allocations: 1.817 MB / 0.7037 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01207/0.6124, allocations: 4.235 MB / 0.7079 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009056/0.6215, allocations: 3.495 MB / 0.7113 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01201/0.6335, allocations: 9.152 MB / 0.7202 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005805/0.6393, allocations: 3.502 MB / 0.7236 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009431/0.6488, allocations: 3.906 MB / 0.7274 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004963/0.6538, allocations: 3.069 MB / 0.7304 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001397/0.6552, allocations: 420 kB / 0.7308 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006846/0.6621, allocations: 2.745 MB / 0.7335 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002579/0.6647, allocations: 1.694 MB / 0.7352 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00479/0.6695, allocations: 2.616 MB / 0.7377 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008922/0.6785, allocations: 6.276 MB / 0.7439 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.6785, allocations: 0 / 0.7439 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6785, allocations: 0 / 0.7439 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002127/0.6787, allocations: 0 / 0.7439 GB, free: 6.395 MB / 0.5762 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.01295/0.6917, allocations: 5.827 MB / 0.7496 GB, free: 484 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.6918, allocations: 8.031 kB / 0.7496 GB, free: 476 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3535/1.045, allocations: 1.223 MB / 0.7508 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01476/1.06, allocations: 5.23 MB / 0.7559 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009837/1.061, allocations: 293.2 kB / 0.7561 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/1.062, allocations: 234.5 kB / 0.7564 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008483/1.071, allocations: 3.087 MB / 0.7594 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.551e-05/1.071, allocations: 2.531 kB / 0.7594 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000266/1.071, allocations: 91.08 kB / 0.7595 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.783e-05/1.071, allocations: 49.5 kB / 0.7595 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006598/1.078, allocations: 2.319 MB / 0.7618 GB, free: 150.7 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.02261/1.101, allocations: 12.48 MB / 0.774 GB, free: 140.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004819/1.105, allocations: 1.829 MB / 0.7758 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/1.107, allocations: 0.836 MB / 0.7766 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007242/1.114, allocations: 4.49 MB / 0.781 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002491/1.117, allocations: 1.399 MB / 0.7823 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001691/1.119, allocations: 193.3 kB / 0.7825 GB, free: 135 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=87): time 3.957e-06/1.119, allocations: 0 / 0.7825 GB, free: 135 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87): time 0.006745/1.126, allocations: 2.776 MB / 0.7852 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/1.126, allocations: 115.8 kB / 0.7853 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006156/1.132, allocations: 4.95 MB / 0.7902 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006002/1.132, allocations: 53.7 kB / 0.7902 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001552/1.134, allocations: 2.112 MB / 0.7923 GB, free: 125.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005886/1.135, allocations: 314.9 kB / 0.7926 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007314/1.135, allocations: 499.2 kB / 0.793 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.759e-05/1.135, allocations: 305.1 kB / 0.7933 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002446/1.138, allocations: 1.628 MB / 0.7949 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003005/1.141, allocations: 2.572 MB / 0.7974 GB, free: 119.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005512/1.146, allocations: 4.117 MB / 0.8015 GB, free: 115.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.087e-05/1.146, allocations: 8 kB / 0.8015 GB, free: 115.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.008141/1.155, allocations: 4.493 MB / 0.8059 GB, free: 110.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/1.155, allocations: 22.19 kB / 0.8059 GB, free: 110.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.573e-05/1.155, allocations: 31.94 kB / 0.8059 GB, free: 110.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.281e-05/1.155, allocations: 36 kB / 0.8059 GB, free: 110.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003558/1.158, allocations: 0.6048 MB / 0.8065 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/1.16, allocations: 2.984 MB / 0.8094 GB, free: 107 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003733/1.164, allocations: 212.4 kB / 0.8097 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006256/1.165, allocations: 179.9 kB / 0.8098 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004097/1.169, allocations: 2.284 MB / 0.8121 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002511/1.172, allocations: 2.291 MB / 0.8143 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004669/1.176, allocations: 3.531 MB / 0.8177 GB, free: 97.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.186e-05/1.176, allocations: 8 kB / 0.8177 GB, free: 97.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.007087/1.183, allocations: 3.907 MB / 0.8216 GB, free: 93.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/1.183, allocations: 20 kB / 0.8216 GB, free: 93.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.383e-05/1.184, allocations: 28 kB / 0.8216 GB, free: 93.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/1.184, allocations: 36 kB / 0.8216 GB, free: 93.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/1.186, allocations: 0.6202 MB / 0.8222 GB, free: 93.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.873e-05/1.186, allocations: 63.78 kB / 0.8223 GB, free: 93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003424/1.19, allocations: 204.1 kB / 0.8225 GB, free: 92.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004679/1.19, allocations: 179.2 kB / 0.8227 GB, free: 92.63 MB / 0.5762 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 (226): * Single equations (assignments): 218 * 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.0006911/1.191, allocations: 324.3 kB / 0.823 GB, free: 92.31 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/1.192, allocations: 426.4 kB / 0.8234 GB, free: 91.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005989/1.198, allocations: 2.704 MB / 0.826 GB, free: 89.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/1.198, allocations: 12 kB / 0.826 GB, free: 89.17 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.198, allocations: 4 kB / 0.826 GB, free: 89.17 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/1.198, allocations: 7.969 kB / 0.8261 GB, free: 89.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/1.208, allocations: 5.263 MB / 0.8312 GB, free: 83.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/1.208, allocations: 3.891 kB / 0.8312 GB, free: 83.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/1.21, allocations: 285.5 kB / 0.8315 GB, free: 83.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003373/1.21, allocations: 149.6 kB / 0.8316 GB, free: 83.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/1.21, allocations: 43.95 kB / 0.8317 GB, free: 83.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/1.212, allocations: 2.663 MB / 0.8343 GB, free: 80.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.212, allocations: 288 / 0.8343 GB, free: 80.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005091/1.217, allocations: 2.496 MB / 0.8367 GB, free: 78.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/1.219, allocations: 0.6864 MB / 0.8374 GB, free: 77.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001023/1.22, allocations: 28 kB / 0.8374 GB, free: 77.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002714/1.222, allocations: 167.7 kB / 0.8375 GB, free: 77.19 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/1.223, allocations: 80.89 kB / 0.8376 GB, free: 77.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001707/1.223, allocations: 71.94 kB / 0.8377 GB, free: 77.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004826/1.228, allocations: 3.384 MB / 0.841 GB, free: 73.67 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.01e-07/1.228, allocations: 4 kB / 0.841 GB, free: 73.67 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006533/1.234, allocations: 1.753 MB / 0.8427 GB, free: 71.95 MB / 0.5762 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 (114): * Single equations (assignments): 98 * 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.002252/1.236, allocations: 0.9279 MB / 0.8436 GB, free: 71.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.248, allocations: 5.186 MB / 0.8487 GB, free: 66.14 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.248, allocations: 0 / 0.8487 GB, free: 66.14 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002433/1.251, allocations: 1.039 MB / 0.8497 GB, free: 65.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009235/1.26, allocations: 2.319 MB / 0.852 GB, free: 62.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/1.273, allocations: 9.066 MB / 0.8608 GB, free: 53.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00194/1.275, allocations: 2.574 MB / 0.8633 GB, free: 51.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/1.276, allocations: 339.3 kB / 0.8637 GB, free: 50.86 MB / 0.5762 GB Notification: Performance of SimCode: time 9.11e-07/1.276, allocations: 0 / 0.8637 GB, free: 50.86 MB / 0.5762 GB Notification: Performance of Templates: time 0.4816/1.758, allocations: 151.2 MB / 1.011 GB, free: 234.2 MB / 0.67 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)