Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.613/1.613, allocations: 285.6 MB / 293.1 MB, free: 10.17 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001266/0.001266, allocations: 184.8 kB / 361.4 MB, free: 6.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.2 MB / 0.62 GB, free: 11.6 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009532/0.0009534, allocations: 96.66 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.701e-05, allocations: 4 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6803/0.6804, allocations: 115.3 MB / 0.9644 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.739, allocations: 445.5 MB / 1.399 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/1.74, allocations: 90.95 kB / 1.4 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.713/10.45, allocations: 2.312 GB / 3.712 GB, free: 67.98 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.164e-06/10.45, allocations: 3.938 kB / 3.712 GB, free: 67.97 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0009618/10.45, allocations: 116.5 kB / 3.712 GB, free: 67.95 MB / 0.9792 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.01259/10.47, allocations: 4.034 MB / 3.716 GB, free: 65.1 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.9e-05/10.47, allocations: 11.19 kB / 3.716 GB, free: 65.1 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00732/10.47, allocations: 1.183 MB / 3.717 GB, free: 64.56 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06813/10.54, allocations: 31.07 MB / 3.748 GB, free: 37.4 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/10.54, allocations: 72 kB / 3.748 GB, free: 37.33 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/10.54, allocations: 143 kB / 3.748 GB, free: 37.19 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005431/10.55, allocations: 2.249 MB / 3.75 GB, free: 34.93 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006557/10.56, allocations: 2.496 MB / 3.752 GB, free: 32.29 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.539e-05/10.56, allocations: 3.938 kB / 3.752 GB, free: 32.29 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005683/10.56, allocations: 4 kB / 3.752 GB, free: 32.29 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/10.56, allocations: 56 kB / 3.752 GB, free: 32.23 MB / 0.9792 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.02482/10.58, allocations: 12.79 MB / 3.765 GB, free: 19.02 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00322/10.58, allocations: 2.167 MB / 3.767 GB, free: 16.86 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/10.59, allocations: 0.9208 MB / 3.768 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008893/10.59, allocations: 5.167 MB / 3.773 GB, free: 10.47 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/10.6, allocations: 1.105 MB / 3.774 GB, free: 9.355 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001973/10.6, allocations: 174.4 kB / 3.774 GB, free: 9.184 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=92): time 5.03e-06/10.6, allocations: 0 / 3.774 GB, free: 9.184 MB / 0.9792 GB Notification: Performance of matching and sorting (n=92): time 0.007604/10.61, allocations: 2.761 MB / 3.777 GB, free: 6.395 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/10.61, allocations: 115.6 kB / 3.777 GB, free: 6.258 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01098/10.62, allocations: 4.73 MB / 3.782 GB, free: 1.539 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0006692/10.62, allocations: 33.7 kB / 3.782 GB, free: 1.5 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.003072/10.62, allocations: 2.151 MB / 3.784 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008022/10.62, allocations: 311.5 kB / 3.784 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004168/10.62, allocations: 0 / 3.784 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002787/10.62, allocations: 386 kB / 3.784 GB, free: 14.63 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/10.62, allocations: 1.043 MB / 3.785 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002712/10.63, allocations: 2.088 MB / 3.788 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004271/10.63, allocations: 1.48 MB / 3.789 GB, free: 9.508 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-05/10.63, allocations: 11.95 kB / 3.789 GB, free: 9.496 MB / 0.9948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009128/10.64, allocations: 3.585 MB / 3.792 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.005662/10.65, allocations: 13.57 MB / 3.806 GB, free: 6.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.965e-05/10.65, allocations: 28 kB / 3.806 GB, free: 6.953 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000976/10.65, allocations: 341.1 kB / 3.806 GB, free: 6.621 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003341/10.65, allocations: 0.546 MB / 3.807 GB, free: 6.074 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7793/11.43, allocations: 6.007 MB / 3.812 GB, free: 116 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004512/11.43, allocations: 148.6 kB / 3.813 GB, free: 116 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000824/11.43, allocations: 210 kB / 3.813 GB, free: 116 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/11.43, allocations: 5.938 kB / 3.813 GB, free: 116 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007476/11.44, allocations: 2.687 MB / 3.815 GB, free: 116 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.112e-05/11.44, allocations: 33.22 kB / 3.815 GB, free: 116 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008425/11.44, allocations: 339.9 kB / 3.816 GB, free: 116 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/11.45, allocations: 0.5862 MB / 3.816 GB, free: 116 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/11.45, allocations: 2.571 MB / 3.819 GB, free: 113.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/11.45, allocations: 138.1 kB / 3.819 GB, free: 113.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000338/11.45, allocations: 212.9 kB / 3.819 GB, free: 113.9 MB / 1.01 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.0008285/11.45, allocations: 202.3 kB / 3.819 GB, free: 113.8 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006367/11.46, allocations: 2.066 MB / 3.821 GB, free: 113.7 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007712/11.46, allocations: 407.3 kB / 3.822 GB, free: 113.6 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006887/11.47, allocations: 2.577 MB / 3.824 GB, free: 113.5 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/11.47, allocations: 13.23 kB / 3.824 GB, free: 113.5 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/11.47, allocations: 1.188 kB / 3.824 GB, free: 113.5 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/11.47, allocations: 12.3 kB / 3.824 GB, free: 113.5 MB / 1.01 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.01242/11.48, allocations: 5.721 MB / 3.83 GB, free: 113 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/11.48, allocations: 3.688 kB / 3.83 GB, free: 113 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/11.48, allocations: 211.2 kB / 3.83 GB, free: 113 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007275/11.48, allocations: 363.6 kB / 3.831 GB, free: 113 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.353e-05/11.48, allocations: 28.91 kB / 3.831 GB, free: 113 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002684/11.48, allocations: 4.981 MB / 3.835 GB, free: 108.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/11.48, allocations: 2.406 kB / 3.835 GB, free: 108.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005284/11.49, allocations: 2.43 MB / 3.838 GB, free: 108 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/11.49, allocations: 0.9149 MB / 3.839 GB, free: 107.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000549/11.49, allocations: 9.625 kB / 3.839 GB, free: 107.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/11.49, allocations: 144 kB / 3.839 GB, free: 107.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/11.49, allocations: 85.7 kB / 3.839 GB, free: 107.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001591/11.49, allocations: 79.48 kB / 3.839 GB, free: 107.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.006319/11.5, allocations: 3.533 MB / 3.842 GB, free: 107.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.81e-07/11.5, allocations: 0 / 3.842 GB, free: 107.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.007814/11.51, allocations: 1.929 MB / 3.844 GB, free: 107.4 MB / 1.01 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.0117/11.52, allocations: 5.304 MB / 3.849 GB, free: 105.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.009369/11.53, allocations: 3.981 MB / 3.853 GB, free: 105.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/11.53, allocations: 6.828 kB / 3.853 GB, free: 105.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001713/11.53, allocations: 0.8183 MB / 3.854 GB, free: 105.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01222/11.54, allocations: 1.965 MB / 3.856 GB, free: 105.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/11.56, allocations: 6.582 MB / 3.863 GB, free: 104.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002768/11.56, allocations: 2.697 MB / 3.865 GB, free: 103.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01031/11.57, allocations: 2.153 MB / 3.867 GB, free: 103.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002798/11.58, allocations: 1.793 MB / 3.869 GB, free: 103.3 MB / 1.01 GB Notification: Performance of SimCode: time 9.52e-07/11.58, allocations: 2.156 kB / 3.869 GB, free: 103.3 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2446/11.82, allocations: 135.3 MB / 4.001 GB, free: 96.28 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/11.82, allocations: 179.8 kB / 4.001 GB, free: 96.07 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/19.74, allocations: 0 / 4.001 GB, free: 96.07 MB / 1.01 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_MoverStages_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_MoverStages.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)