Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 249.5 MB / 257 MB, free: 6.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001583/0.001584, allocations: 180.8 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.3 MB / 0.5671 GB, free: 15.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007902/0.0007904, allocations: 103 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.914e-05/1.915e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2038, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.494/1.698, allocations: 438.8 MB / 1.314 GB, free: 305.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/1.698, allocations: 97.56 kB / 1.314 GB, free: 305.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.983/9.681, allocations: 2.252 GB / 3.566 GB, free: 72.42 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.976e-06/9.681, allocations: 4 kB / 3.566 GB, free: 72.42 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0008465/9.682, allocations: 111.2 kB / 3.566 GB, free: 72.4 MB / 0.9167 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.01226/9.695, allocations: 4.028 MB / 3.57 GB, free: 69.99 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/9.695, allocations: 9.438 kB / 3.57 GB, free: 69.99 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007056/9.702, allocations: 1.185 MB / 3.571 GB, free: 69.66 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06099/9.763, allocations: 30.38 MB / 3.601 GB, free: 52.74 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/9.763, allocations: 65.97 kB / 3.601 GB, free: 52.74 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007725/9.764, allocations: 140 kB / 3.601 GB, free: 52.74 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003799/9.768, allocations: 2.246 MB / 3.603 GB, free: 50.59 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003588/9.771, allocations: 2.513 MB / 3.605 GB, free: 47.94 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/9.771, allocations: 7.688 kB / 3.605 GB, free: 47.94 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/9.771, allocations: 4.688 kB / 3.605 GB, free: 47.93 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/9.771, allocations: 52 kB / 3.606 GB, free: 47.88 MB / 0.9167 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.0212/9.793, allocations: 12.79 MB / 3.618 GB, free: 34.67 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003313/9.796, allocations: 2.167 MB / 3.62 GB, free: 32.51 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/9.797, allocations: 0.9168 MB / 3.621 GB, free: 31.59 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0083/9.805, allocations: 5.137 MB / 3.626 GB, free: 26.16 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/9.807, allocations: 1.113 MB / 3.627 GB, free: 25.04 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001915/9.809, allocations: 166.5 kB / 3.627 GB, free: 24.87 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=92): time 4.789e-06/9.809, allocations: 0 / 3.627 GB, free: 24.87 MB / 0.9167 GB Notification: Performance of matching and sorting (n=92): time 0.00696/9.816, allocations: 2.766 MB / 3.63 GB, free: 22.07 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/9.816, allocations: 115.6 kB / 3.63 GB, free: 21.94 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008538/9.824, allocations: 4.726 MB / 3.635 GB, free: 17.22 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009295/9.825, allocations: 29.7 kB / 3.635 GB, free: 17.19 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002339/9.828, allocations: 2.155 MB / 3.637 GB, free: 15 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008123/9.828, allocations: 311.5 kB / 3.637 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/9.828, allocations: 0 / 3.637 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000128/9.829, allocations: 390 kB / 3.638 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/9.83, allocations: 1.046 MB / 3.639 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/9.832, allocations: 2.088 MB / 3.641 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003174/9.835, allocations: 1.468 MB / 3.642 GB, free: 9.195 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/9.835, allocations: 11.94 kB / 3.642 GB, free: 9.184 MB / 0.9167 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006662/9.841, allocations: 3.593 MB / 3.646 GB, free: 5.566 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.004077/9.846, allocations: 13.58 MB / 3.659 GB, free: 6.656 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-05/9.846, allocations: 32 kB / 3.659 GB, free: 6.625 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009526/9.847, allocations: 340.3 kB / 3.659 GB, free: 6.293 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/9.85, allocations: 0.5382 MB / 3.66 GB, free: 5.754 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005546/9.855, allocations: 6.017 MB / 3.666 GB, free: 15.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003885/9.859, allocations: 147.9 kB / 3.666 GB, free: 15.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005582/9.86, allocations: 215.9 kB / 3.666 GB, free: 15.19 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/9.86, allocations: 4 kB / 3.666 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007031/9.867, allocations: 2.683 MB / 3.669 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/9.867, allocations: 34.98 kB / 3.669 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000875/9.868, allocations: 331 kB / 3.669 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/9.871, allocations: 0.5851 MB / 3.669 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/9.873, allocations: 2.578 MB / 3.672 GB, free: 8.867 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003662/9.877, allocations: 131.8 kB / 3.672 GB, free: 8.738 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004779/9.877, allocations: 203.9 kB / 3.672 GB, free: 8.539 MB / 0.948 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.0008982/9.878, allocations: 205.6 kB / 3.672 GB, free: 8.336 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007283/9.886, allocations: 2.072 MB / 3.674 GB, free: 6.242 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001453/9.887, allocations: 406.6 kB / 3.675 GB, free: 5.84 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007392/9.894, allocations: 2.58 MB / 3.677 GB, free: 3.273 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.382e-05/9.895, allocations: 19.98 kB / 3.677 GB, free: 3.254 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/9.895, allocations: 3.953 kB / 3.677 GB, free: 3.25 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/9.895, allocations: 3.984 kB / 3.677 GB, free: 3.246 MB / 0.948 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.7486/10.64, allocations: 5.701 MB / 3.683 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/10.64, allocations: 1.5 kB / 3.683 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/10.64, allocations: 217.2 kB / 3.683 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008517/10.65, allocations: 358.5 kB / 3.684 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/10.65, allocations: 31.06 kB / 3.684 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003223/10.65, allocations: 4.981 MB / 3.688 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/10.65, allocations: 4.047 kB / 3.688 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006831/10.66, allocations: 2.434 MB / 3.691 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003078/10.66, allocations: 0.9132 MB / 3.692 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009828/10.66, allocations: 4.859 kB / 3.692 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/10.66, allocations: 150.9 kB / 3.692 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/10.66, allocations: 86.92 kB / 3.692 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/10.66, allocations: 83.27 kB / 3.692 GB, free: 108.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007141/10.67, allocations: 3.528 MB / 3.695 GB, free: 108.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.51e-07/10.67, allocations: 0 / 3.695 GB, free: 108.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009259/10.68, allocations: 1.88 MB / 3.697 GB, free: 108.3 MB / 0.948 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.01046/10.69, allocations: 5.259 MB / 3.702 GB, free: 106.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008908/10.7, allocations: 3.978 MB / 3.706 GB, free: 106.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/10.7, allocations: 2.312 kB / 3.706 GB, free: 106.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001855/10.7, allocations: 0.8207 MB / 3.707 GB, free: 106.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01083/10.71, allocations: 1.958 MB / 3.709 GB, free: 106.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/10.73, allocations: 6.559 MB / 3.715 GB, free: 105.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002987/10.73, allocations: 2.71 MB / 3.718 GB, free: 104.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01031/10.74, allocations: 2.148 MB / 3.72 GB, free: 104.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002853/10.75, allocations: 1.789 MB / 3.722 GB, free: 104.2 MB / 0.948 GB Notification: Performance of SimCode: time 8.32e-07/10.75, allocations: 0 / 3.722 GB, free: 104.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2154/10.96, allocations: 134.9 MB / 3.854 GB, free: 97.27 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/10.96, allocations: 175.6 kB / 3.854 GB, free: 97.07 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.043/18.01, allocations: 0 / 3.854 GB, free: 97.07 MB / 0.948 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_MoverStages_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_MoverStages.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)