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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.008095/0.008095, allocations: 170.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7425/0.7425, allocations: 132.3 MB / 148.1 MB, free: 260 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.633/1.633, allocations: 223.2 MB / 403.2 MB, free: 6.762 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 92.34 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005825/0.0005832, allocations: 16 kB / 0.5641 GB, free: 2.125 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5388/0.5395, allocations: 81.59 MB / 0.6437 GB, free: 39.26 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9275/1.467, allocations: 407 MB / 1.041 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/1.467, allocations: 108.3 kB / 1.041 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.641/10.11, allocations: 2.381 GB / 3.423 GB, free: 61.92 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.246e-06/10.11, allocations: 0 / 3.423 GB, free: 61.92 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0008827/10.11, allocations: 115.9 kB / 3.423 GB, free: 61.8 MB / 0.7448 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.02653/10.14, allocations: 7.84 MB / 3.43 GB, free: 53.87 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/10.14, allocations: 12.03 kB / 3.43 GB, free: 53.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008105/10.14, allocations: 1.195 MB / 3.432 GB, free: 52.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06809/10.21, allocations: 31.8 MB / 3.463 GB, free: 20.72 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002834/10.21, allocations: 184 kB / 3.463 GB, free: 20.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001064/10.21, allocations: 240 kB / 3.463 GB, free: 20.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00557/10.22, allocations: 2.903 MB / 3.466 GB, free: 17.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/10.22, allocations: 4 kB / 3.466 GB, free: 17.24 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002393/10.22, allocations: 84 kB / 3.466 GB, free: 17.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/10.22, allocations: 48.69 kB / 3.466 GB, free: 17.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004386/10.22, allocations: 2.123 MB / 3.468 GB, free: 14.99 MB / 0.7448 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.02429/10.25, allocations: 13.27 MB / 3.481 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004227/10.25, allocations: 1.633 MB / 3.483 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01101/10.26, allocations: 5.252 MB / 3.488 GB, free: 9.988 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00244/10.27, allocations: 1.231 MB / 3.489 GB, free: 8.746 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002631/10.27, allocations: 226.1 kB / 3.489 GB, free: 8.523 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=92): time 8.005e-06/10.27, allocations: 4 kB / 3.489 GB, free: 8.52 MB / 0.7605 GB Notification: Performance of matching and sorting (n=92): time 0.0125/10.28, allocations: 3.438 MB / 3.493 GB, free: 4.984 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/10.28, allocations: 111.8 kB / 3.493 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5291/10.81, allocations: 5.285 MB / 3.498 GB, free: 86.97 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000673/10.81, allocations: 61.42 kB / 3.498 GB, free: 86.94 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.003135/10.81, allocations: 2.153 MB / 3.5 GB, free: 86.82 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008146/10.82, allocations: 320.1 kB / 3.5 GB, free: 86.81 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/10.82, allocations: 38.98 kB / 3.5 GB, free: 86.81 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001804/10.82, allocations: 387.8 kB / 3.501 GB, free: 86.51 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002412/10.82, allocations: 0.8645 MB / 3.502 GB, free: 86.5 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002794/10.82, allocations: 1.928 MB / 3.503 GB, free: 85.2 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002598/10.82, allocations: 1.075 MB / 3.504 GB, free: 85.19 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.166e-05/10.82, allocations: 14.44 kB / 3.504 GB, free: 85.19 MB / 0.7605 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007643/10.83, allocations: 3.205 MB / 3.508 GB, free: 84.87 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.002406/10.83, allocations: 13.79 MB / 3.521 GB, free: 70.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-05/10.83, allocations: 35.11 kB / 3.521 GB, free: 70.39 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/10.83, allocations: 391.3 kB / 3.521 GB, free: 70.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003511/10.84, allocations: 0.543 MB / 3.522 GB, free: 70.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004147/10.84, allocations: 5.267 MB / 3.527 GB, free: 65.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004306/10.85, allocations: 188.5 kB / 3.527 GB, free: 65.93 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006103/10.85, allocations: 211.4 kB / 3.528 GB, free: 65.93 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/10.85, allocations: 11.47 kB / 3.528 GB, free: 65.93 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005504/10.85, allocations: 2.896 MB / 3.53 GB, free: 65.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.348e-05/10.85, allocations: 30.33 kB / 3.53 GB, free: 65.87 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/10.85, allocations: 388.6 kB / 3.531 GB, free: 65.84 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/10.86, allocations: 0.5849 MB / 3.531 GB, free: 65.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/10.86, allocations: 2.575 MB / 3.534 GB, free: 63.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003477/10.86, allocations: 181.5 kB / 3.534 GB, free: 63.76 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003138/10.86, allocations: 207.1 kB / 3.534 GB, free: 63.76 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * 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 (217): * Single equations (assignments): 205 * 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: 4 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002841/10.86, allocations: 1.18 MB / 3.535 GB, free: 63.57 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001/10.87, allocations: 436.1 kB / 3.536 GB, free: 63.33 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007088/10.87, allocations: 2.77 MB / 3.538 GB, free: 63.15 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/10.87, allocations: 17.84 kB / 3.538 GB, free: 63.15 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/10.87, allocations: 4.547 kB / 3.539 GB, free: 63.15 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/10.87, allocations: 11.23 kB / 3.539 GB, free: 63.15 MB / 0.7605 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.01398/10.89, allocations: 6.134 MB / 3.545 GB, free: 62.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/10.89, allocations: 3.344 kB / 3.545 GB, free: 62.66 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/10.89, allocations: 220.7 kB / 3.545 GB, free: 62.66 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/10.89, allocations: 423.2 kB / 3.545 GB, free: 62.61 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/10.89, allocations: 44.72 kB / 3.545 GB, free: 62.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002852/10.89, allocations: 4.957 MB / 3.55 GB, free: 58.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/10.89, allocations: 3.062 kB / 3.55 GB, free: 58.32 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006372/10.9, allocations: 2.613 MB / 3.553 GB, free: 57.67 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002676/10.9, allocations: 0.9479 MB / 3.553 GB, free: 57.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008834/10.9, allocations: 22.56 kB / 3.554 GB, free: 57.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/10.9, allocations: 163.5 kB / 3.554 GB, free: 57.33 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/10.9, allocations: 90.89 kB / 3.554 GB, free: 57.33 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/10.9, allocations: 81.34 kB / 3.554 GB, free: 57.33 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.006459/10.91, allocations: 4.02 MB / 3.558 GB, free: 57.15 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.41e-07/10.91, allocations: 1.938 kB / 3.558 GB, free: 57.15 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007389/10.92, allocations: 2.001 MB / 3.56 GB, free: 57.08 MB / 0.7605 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 (100): * Single equations (assignments): 80 * 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: 6 * 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: 6 {1 4,1 4,1 1,1 4,1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004093/10.92, allocations: 2.412 MB / 3.562 GB, free: 56.6 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.008884/10.93, allocations: 3.859 MB / 3.566 GB, free: 56.57 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/10.93, allocations: 3.656 kB / 3.566 GB, free: 56.57 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002247/10.93, allocations: 0.9437 MB / 3.567 GB, free: 56.57 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01056/10.94, allocations: 2.154 MB / 3.569 GB, free: 56.55 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/10.96, allocations: 8.361 MB / 3.577 GB, free: 53.11 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002676/10.96, allocations: 2.707 MB / 3.58 GB, free: 52.34 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.006822/10.97, allocations: 1.214 MB / 3.581 GB, free: 52.29 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/10.97, allocations: 368.1 kB / 3.581 GB, free: 52.29 MB / 0.7605 GB Notification: Performance of SimCode: time 1.292e-06/10.97, allocations: 0 / 3.581 GB, free: 52.29 MB / 0.7605 GB Notification: Performance of Templates: time 0.1538/11.13, allocations: 106.4 MB / 3.685 GB, free: 45.5 MB / 0.7605 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)