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-master/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-master/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: "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.MoverStages,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.MoverStages,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 178.9 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.783/0.783, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.709/1.709, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.0008585/0.0008584, allocations: 96.42 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.137e-05/2.139e-05, allocations: 7.938 kB / 0.5535 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4729, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8343/1.307, allocations: 406.5 MB / 1.031 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/1.307, allocations: 91.02 kB / 1.031 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 9.875/11.18, allocations: 2.36 GB / 3.391 GB, free: 82.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.705e-06/11.18, allocations: 0 / 3.391 GB, free: 82.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.001116/11.18, allocations: 110.8 kB / 3.391 GB, free: 82.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.01581/11.2, allocations: 4.046 MB / 3.395 GB, free: 80.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/11.2, allocations: 17.02 kB / 3.395 GB, free: 80.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008625/11.21, allocations: 1.19 MB / 3.396 GB, free: 80.4 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07495/11.28, allocations: 31.54 MB / 3.427 GB, free: 77.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/11.28, allocations: 72.59 kB / 3.427 GB, free: 77.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009477/11.28, allocations: 147.3 kB / 3.427 GB, free: 77.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004098/11.29, allocations: 2.243 MB / 3.429 GB, free: 76.33 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004011/11.29, allocations: 2.495 MB / 3.432 GB, free: 75.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.557e-05/11.29, allocations: 7.688 kB / 3.432 GB, free: 75.22 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/11.29, allocations: 3.219 kB / 3.432 GB, free: 75.22 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.225e-05/11.29, allocations: 48.83 kB / 3.432 GB, free: 75.22 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.02351/11.32, allocations: 12.82 MB / 3.444 GB, free: 66.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00319/11.32, allocations: 2.167 MB / 3.446 GB, free: 65.4 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/11.32, allocations: 0.9247 MB / 3.447 GB, free: 64.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008944/11.33, allocations: 5.165 MB / 3.452 GB, free: 60.63 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001355/11.33, allocations: 1.109 MB / 3.453 GB, free: 60 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0023/11.33, allocations: 175.4 kB / 3.454 GB, free: 59.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=92): time 4.889e-06/11.33, allocations: 0 / 3.454 GB, free: 59.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=92): time 0.007865/11.34, allocations: 2.767 MB / 3.456 GB, free: 58.35 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/11.34, allocations: 115.6 kB / 3.456 GB, free: 58.21 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/11.35, allocations: 4.751 MB / 3.461 GB, free: 53.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0009349/11.35, allocations: 29.7 kB / 3.461 GB, free: 53.44 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002593/11.36, allocations: 2.151 MB / 3.463 GB, free: 51.26 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007482/11.36, allocations: 303.5 kB / 3.463 GB, free: 50.96 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/11.36, allocations: 4 kB / 3.463 GB, free: 50.96 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000151/11.36, allocations: 386 kB / 3.464 GB, free: 50.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/11.36, allocations: 1.046 MB / 3.465 GB, free: 49.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/11.36, allocations: 2.08 MB / 3.467 GB, free: 46.93 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003447/11.36, allocations: 1.48 MB / 3.468 GB, free: 45.45 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/11.36, allocations: 8 kB / 3.468 GB, free: 45.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00816/11.37, allocations: 3.581 MB / 3.472 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.003483/11.38, allocations: 13.61 MB / 3.485 GB, free: 26.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-05/11.38, allocations: 28 kB / 3.485 GB, free: 26.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008359/11.38, allocations: 333.3 kB / 3.485 GB, free: 26.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003421/11.38, allocations: 0.5447 MB / 3.486 GB, free: 26.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004696/11.38, allocations: 6.016 MB / 3.492 GB, free: 19.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004471/11.39, allocations: 151.9 kB / 3.492 GB, free: 19.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006743/11.39, allocations: 215.9 kB / 3.492 GB, free: 19.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/11.39, allocations: 4 kB / 3.492 GB, free: 19.46 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006075/11.4, allocations: 2.686 MB / 3.495 GB, free: 16.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.856e-05/11.4, allocations: 28 kB / 3.495 GB, free: 16.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006572/11.4, allocations: 345.2 kB / 3.495 GB, free: 16.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/11.4, allocations: 0.589 MB / 3.496 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/11.4, allocations: 2.564 MB / 3.498 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003819/11.4, allocations: 143.8 kB / 3.498 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004647/11.4, allocations: 204 kB / 3.499 GB, free: 12.81 MB / 0.7448 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_Nrpm.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_y.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_m_flow.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 () * 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.0008179/11.41, allocations: 209.3 kB / 3.499 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006647/11.41, allocations: 2.075 MB / 3.501 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001365/11.41, allocations: 406.7 kB / 3.501 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006845/11.42, allocations: 2.574 MB / 3.504 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-05/11.42, allocations: 23.98 kB / 3.504 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/11.42, allocations: 0 / 3.504 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/11.42, allocations: 3.984 kB / 3.504 GB, free: 7.492 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.01453/11.44, allocations: 5.729 MB / 3.509 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/11.44, allocations: 0 / 3.509 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/11.44, allocations: 223.6 kB / 3.51 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007532/11.44, allocations: 361.3 kB / 3.51 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/11.44, allocations: 31.95 kB / 3.51 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003655/11.44, allocations: 4.982 MB / 3.515 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/11.44, allocations: 3.25 kB / 3.515 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006614/11.45, allocations: 2.432 MB / 3.517 GB, free: 9.418 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003182/11.45, allocations: 0.9209 MB / 3.518 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001495/11.45, allocations: 7.953 kB / 3.518 GB, free: 8.465 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002998/11.46, allocations: 151.7 kB / 3.518 GB, free: 8.316 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/11.46, allocations: 81.19 kB / 3.518 GB, free: 8.238 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002132/11.46, allocations: 79.94 kB / 3.518 GB, free: 8.16 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.007582/11.46, allocations: 3.54 MB / 3.522 GB, free: 4.637 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.11e-07/11.46, allocations: 0 / 3.522 GB, free: 4.637 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01009/11.47, allocations: 1.935 MB / 3.524 GB, free: 2.699 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) * 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.7493/12.22, allocations: 5.282 MB / 3.529 GB, free: 102.6 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01019/12.23, allocations: 3.987 MB / 3.533 GB, free: 102.5 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/12.23, allocations: 7.438 kB / 3.533 GB, free: 102.5 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001856/12.24, allocations: 0.8213 MB / 3.534 GB, free: 102.5 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01113/12.25, allocations: 1.949 MB / 3.535 GB, free: 102.5 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02141/12.27, allocations: 6.608 MB / 3.542 GB, free: 101 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003157/12.27, allocations: 2.705 MB / 3.545 GB, free: 100.3 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.01333/12.28, allocations: 2.153 MB / 3.547 GB, free: 100.2 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003648/12.29, allocations: 1.808 MB / 3.548 GB, free: 100.2 MB / 0.7605 GB Notification: Performance of SimCode: time 1.142e-06/12.29, allocations: 0 / 3.548 GB, free: 100.2 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2579/12.55, allocations: 135.5 MB / 3.681 GB, free: 90.31 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/12.55, allocations: 141.9 kB / 3.681 GB, free: 90.12 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.174/19.72, allocations: 0 / 3.681 GB, free: 90.12 MB / 0.7605 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_MoverStages_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_MoverStages.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.pipe 2>&1)