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/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_dev_IDEAS_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.MoverStages,fileNamePrefix="IDEAS_dev_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.001102/0.001102, allocations: 180.7 kB / 7.649 MB, free: 1.391 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7689/0.7689, allocations: 133.6 MB / 141.6 MB, free: 2.871 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.445/1.445, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008637/0.0008634, allocations: 101.9 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.884e-05, allocations: 4 kB / 0.5535 GB, free: 8.984 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4734/0.4734, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.834/1.307, allocations: 406.5 MB / 1.031 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/1.308, allocations: 93.52 kB / 1.031 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 9.949/11.26, allocations: 2.36 GB / 3.391 GB, free: 82.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.823e-06/11.26, allocations: 0 / 3.391 GB, free: 82.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0009271/11.26, allocations: 114.3 kB / 3.391 GB, free: 82.44 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.01374/11.27, allocations: 4.042 MB / 3.395 GB, free: 80.33 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/11.27, allocations: 7.875 kB / 3.395 GB, free: 80.33 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008054/11.28, allocations: 1.197 MB / 3.396 GB, free: 80.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06907/11.35, allocations: 31.55 MB / 3.427 GB, free: 76.72 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/11.35, allocations: 72.28 kB / 3.427 GB, free: 76.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001028/11.35, allocations: 142.4 kB / 3.427 GB, free: 76.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004476/11.36, allocations: 2.24 MB / 3.429 GB, free: 75.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004154/11.36, allocations: 2.499 MB / 3.432 GB, free: 74.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.13e-05/11.36, allocations: 6.906 kB / 3.432 GB, free: 74.75 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/11.36, allocations: 3.125 kB / 3.432 GB, free: 74.75 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/11.36, allocations: 54.64 kB / 3.432 GB, free: 74.74 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.02312/11.38, allocations: 12.81 MB / 3.444 GB, free: 66.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003228/11.39, allocations: 2.175 MB / 3.446 GB, free: 65.65 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/11.39, allocations: 0.9169 MB / 3.447 GB, free: 65.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00918/11.4, allocations: 5.165 MB / 3.452 GB, free: 60.89 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001381/11.4, allocations: 1.102 MB / 3.453 GB, free: 60.26 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002445/11.4, allocations: 171 kB / 3.454 GB, free: 60.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=92): time 4.849e-06/11.4, allocations: 0 / 3.454 GB, free: 60.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=92): time 0.008108/11.41, allocations: 2.769 MB / 3.456 GB, free: 58.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/11.41, allocations: 118.3 kB / 3.456 GB, free: 58.62 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01068/11.42, allocations: 4.75 MB / 3.461 GB, free: 54.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0008155/11.42, allocations: 33.7 kB / 3.461 GB, free: 54.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002607/11.42, allocations: 2.151 MB / 3.463 GB, free: 52.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007678/11.42, allocations: 310.5 kB / 3.463 GB, free: 51.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/11.42, allocations: 3.938 kB / 3.463 GB, free: 51.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001533/11.42, allocations: 390.8 kB / 3.464 GB, free: 51.38 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/11.43, allocations: 1.035 MB / 3.465 GB, free: 50.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/11.43, allocations: 2.092 MB / 3.467 GB, free: 47.74 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003661/11.43, allocations: 1.468 MB / 3.468 GB, free: 46.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.949e-05/11.43, allocations: 8 kB / 3.468 GB, free: 46.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008232/11.44, allocations: 3.593 MB / 3.472 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.003314/11.44, allocations: 13.59 MB / 3.485 GB, free: 27.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.71e-05/11.44, allocations: 32 kB / 3.485 GB, free: 27.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008706/11.44, allocations: 333.9 kB / 3.485 GB, free: 27.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003332/11.45, allocations: 0.5453 MB / 3.486 GB, free: 26.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/11.45, allocations: 6.025 MB / 3.492 GB, free: 20.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004518/11.46, allocations: 143.8 kB / 3.492 GB, free: 20.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000673/11.46, allocations: 219.9 kB / 3.492 GB, free: 20.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/11.46, allocations: 4 kB / 3.492 GB, free: 20.26 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005872/11.46, allocations: 2.674 MB / 3.495 GB, free: 17.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.751e-05/11.46, allocations: 28 kB / 3.495 GB, free: 17.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006383/11.46, allocations: 344.9 kB / 3.495 GB, free: 17.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002051/11.47, allocations: 0.589 MB / 3.496 GB, free: 16.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/11.47, allocations: 2.572 MB / 3.498 GB, free: 29.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004023/11.47, allocations: 143.9 kB / 3.498 GB, free: 29.81 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004305/11.47, allocations: 211.9 kB / 3.499 GB, free: 29.61 MB / 0.7605 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.0011/11.47, allocations: 192.5 kB / 3.499 GB, free: 29.42 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007561/11.48, allocations: 2.077 MB / 3.501 GB, free: 27.32 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001968/11.48, allocations: 410.7 kB / 3.501 GB, free: 26.91 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008239/11.49, allocations: 2.58 MB / 3.504 GB, free: 24.34 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/11.49, allocations: 15.98 kB / 3.504 GB, free: 24.33 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/11.49, allocations: 4 kB / 3.504 GB, free: 24.32 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/11.49, allocations: 7.922 kB / 3.504 GB, free: 24.32 MB / 0.7605 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.01306/11.5, allocations: 5.726 MB / 3.509 GB, free: 18.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/11.5, allocations: 4 kB / 3.509 GB, free: 18.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/11.51, allocations: 211.8 kB / 3.51 GB, free: 18.34 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007107/11.51, allocations: 364.3 kB / 3.51 GB, free: 17.97 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.66e-05/11.51, allocations: 31.95 kB / 3.51 GB, free: 17.94 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00325/11.51, allocations: 4.981 MB / 3.515 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/11.51, allocations: 0 / 3.515 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005912/11.52, allocations: 2.442 MB / 3.517 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00453/11.52, allocations: 0.9209 MB / 3.518 GB, free: 9.301 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002292/11.52, allocations: 15.94 kB / 3.518 GB, free: 9.285 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004197/11.53, allocations: 139.7 kB / 3.518 GB, free: 9.148 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/11.53, allocations: 91.89 kB / 3.518 GB, free: 9.059 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002706/11.53, allocations: 79.94 kB / 3.518 GB, free: 8.98 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.008584/11.54, allocations: 3.54 MB / 3.522 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.102e-06/11.54, allocations: 4 kB / 3.522 GB, free: 5.453 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.009253/11.54, allocations: 1.929 MB / 3.524 GB, free: 3.52 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.6653/12.21, allocations: 5.287 MB / 3.529 GB, free: 103.3 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01473/12.23, allocations: 3.985 MB / 3.533 GB, free: 103.2 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/12.23, allocations: 0 / 3.533 GB, free: 103.2 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002111/12.23, allocations: 0.8173 MB / 3.534 GB, free: 103.2 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01148/12.24, allocations: 1.95 MB / 3.535 GB, free: 103.2 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/12.26, allocations: 6.613 MB / 3.542 GB, free: 101.7 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002406/12.26, allocations: 2.713 MB / 3.545 GB, free: 101 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.01017/12.27, allocations: 2.148 MB / 3.547 GB, free: 100.9 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003123/12.28, allocations: 1.808 MB / 3.548 GB, free: 100.9 MB / 0.7605 GB Notification: Performance of SimCode: time 1.022e-06/12.28, allocations: 0.6875 kB / 3.548 GB, free: 100.9 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2562/12.53, allocations: 135.5 MB / 3.681 GB, free: 91.4 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/12.53, allocations: 151.7 kB / 3.681 GB, free: 91.21 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.454/19.99, allocations: 0 / 3.681 GB, free: 91.21 MB / 0.7605 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_MoverStages_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_MoverStages.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.pipe 2>&1)