Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 289.9 MB / 297.4 MB, free: 6.453 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.001258/0.001258, allocations: 176.8 kB / 366.7 MB, free: 1.699 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.619/1.619, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0007909/0.0007908, allocations: 96.95 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.325e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6465/0.6465, allocations: 116.3 MB / 0.9733 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.075/1.721, allocations: 446.4 MB / 1.409 GB, free: 111 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/1.722, allocations: 95.7 kB / 1.409 GB, free: 111 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.625/10.35, allocations: 2.312 GB / 3.722 GB, free: 88.18 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.475e-06/10.35, allocations: 0 / 3.722 GB, free: 88.18 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001121/10.35, allocations: 114.1 kB / 3.722 GB, free: 88.16 MB / 0.9948 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.01328/10.36, allocations: 4.026 MB / 3.726 GB, free: 86.04 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/10.36, allocations: 10.59 kB / 3.726 GB, free: 86.04 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007666/10.37, allocations: 1.185 MB / 3.727 GB, free: 85.74 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1187/10.49, allocations: 31.07 MB / 3.757 GB, free: 70.95 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002874/10.49, allocations: 77.19 kB / 3.757 GB, free: 70.94 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/10.49, allocations: 138.8 kB / 3.758 GB, free: 70.94 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007915/10.5, allocations: 2.243 MB / 3.76 GB, free: 69.89 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008756/10.51, allocations: 2.502 MB / 3.762 GB, free: 68.36 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.375e-05/10.51, allocations: 0 / 3.762 GB, free: 68.36 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003384/10.51, allocations: 10.08 kB / 3.762 GB, free: 68.36 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.761e-05/10.51, allocations: 49.81 kB / 3.762 GB, free: 68.36 MB / 0.9948 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.02237/10.53, allocations: 12.8 MB / 3.775 GB, free: 55.21 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002654/10.53, allocations: 2.162 MB / 3.777 GB, free: 53.06 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009184/10.53, allocations: 0.9282 MB / 3.778 GB, free: 52.13 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007593/10.54, allocations: 5.164 MB / 3.783 GB, free: 46.67 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/10.54, allocations: 1.113 MB / 3.784 GB, free: 45.54 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001916/10.54, allocations: 166.5 kB / 3.784 GB, free: 45.38 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=92): time 5.17e-06/10.54, allocations: 0 / 3.784 GB, free: 45.38 MB / 0.9948 GB Notification: Performance of matching and sorting (n=92): time 0.007181/10.55, allocations: 2.762 MB / 3.787 GB, free: 42.59 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/10.55, allocations: 115.6 kB / 3.787 GB, free: 42.45 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01008/10.56, allocations: 4.73 MB / 3.792 GB, free: 37.73 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009253/10.56, allocations: 29.7 kB / 3.792 GB, free: 37.7 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002692/10.56, allocations: 2.159 MB / 3.794 GB, free: 35.51 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009287/10.57, allocations: 307.5 kB / 3.794 GB, free: 35.21 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/10.57, allocations: 0 / 3.794 GB, free: 35.21 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001553/10.57, allocations: 382 kB / 3.794 GB, free: 34.83 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/10.57, allocations: 1.046 MB / 3.795 GB, free: 33.78 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/10.57, allocations: 2.084 MB / 3.797 GB, free: 31.19 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003361/10.57, allocations: 1.472 MB / 3.799 GB, free: 29.72 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/10.57, allocations: 11.95 kB / 3.799 GB, free: 29.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007371/10.58, allocations: 3.585 MB / 3.802 GB, free: 26.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002783/10.58, allocations: 13.59 MB / 3.816 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.201e-05/10.58, allocations: 28 kB / 3.816 GB, free: 11.15 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007737/10.58, allocations: 333.5 kB / 3.816 GB, free: 10.83 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003075/10.59, allocations: 0.5442 MB / 3.816 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00417/10.59, allocations: 6.016 MB / 3.822 GB, free: 4.074 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004483/10.59, allocations: 143.8 kB / 3.822 GB, free: 3.934 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005911/10.6, allocations: 211.9 kB / 3.823 GB, free: 3.727 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/10.6, allocations: 4 kB / 3.823 GB, free: 3.723 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005534/10.6, allocations: 2.69 MB / 3.825 GB, free: 1.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-05/10.6, allocations: 28 kB / 3.825 GB, free: 0.9922 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006841/10.6, allocations: 341.5 kB / 3.826 GB, free: 0.6602 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/10.6, allocations: 0.5889 MB / 3.826 GB, free: 72 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/10.61, allocations: 2.568 MB / 3.829 GB, free: 13.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004228/10.61, allocations: 139.8 kB / 3.829 GB, free: 13.27 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005829/10.61, allocations: 207.9 kB / 3.829 GB, free: 13.06 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.001083/10.61, allocations: 213.5 kB / 3.829 GB, free: 12.85 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007665/10.62, allocations: 2.071 MB / 3.831 GB, free: 10.76 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001634/10.62, allocations: 402.7 kB / 3.832 GB, free: 10.36 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00786/10.63, allocations: 2.574 MB / 3.834 GB, free: 7.797 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-05/10.63, allocations: 16 kB / 3.834 GB, free: 7.781 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/10.63, allocations: 0 / 3.834 GB, free: 7.781 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/10.63, allocations: 19.86 kB / 3.834 GB, free: 7.762 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.01683/10.65, allocations: 5.704 MB / 3.84 GB, free: 2.008 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/10.65, allocations: 8.125 kB / 3.84 GB, free: 2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/10.65, allocations: 215.6 kB / 3.84 GB, free: 1.789 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007983/10.65, allocations: 365.4 kB / 3.84 GB, free: 1.426 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/10.65, allocations: 35.91 kB / 3.84 GB, free: 1.391 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8512/11.5, allocations: 4.969 MB / 3.845 GB, free: 118.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/11.5, allocations: 4.438 kB / 3.845 GB, free: 118.6 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006812/11.51, allocations: 2.431 MB / 3.848 GB, free: 118.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003326/11.51, allocations: 0.9218 MB / 3.849 GB, free: 118.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001374/11.51, allocations: 3.062 kB / 3.849 GB, free: 118.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002457/11.51, allocations: 143 kB / 3.849 GB, free: 118.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/11.51, allocations: 94.45 kB / 3.849 GB, free: 118.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002194/11.51, allocations: 81.16 kB / 3.849 GB, free: 118.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.009784/11.52, allocations: 3.525 MB / 3.852 GB, free: 117.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.71e-07/11.52, allocations: 0 / 3.852 GB, free: 117.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01175/11.54, allocations: 1.93 MB / 3.854 GB, free: 117.8 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.012/11.55, allocations: 5.291 MB / 3.859 GB, free: 116.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.008413/11.56, allocations: 3.979 MB / 3.863 GB, free: 116 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.537e-05/11.56, allocations: 1.812 kB / 3.863 GB, free: 116 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/11.56, allocations: 0.8261 MB / 3.864 GB, free: 116 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01104/11.57, allocations: 1.952 MB / 3.866 GB, free: 116 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01979/11.59, allocations: 6.583 MB / 3.872 GB, free: 114.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002481/11.59, allocations: 2.697 MB / 3.875 GB, free: 113.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01058/11.6, allocations: 2.149 MB / 3.877 GB, free: 113.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003132/11.61, allocations: 1.796 MB / 3.879 GB, free: 113.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.112e-06/11.61, allocations: 0 / 3.879 GB, free: 113.7 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.26/11.87, allocations: 135.3 MB / 4.011 GB, free: 106.8 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/11.87, allocations: 151.8 kB / 4.011 GB, free: 106.7 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/19.71, allocations: 0 / 4.011 GB, free: 106.7 MB / 1.01 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Examples_MoverStages_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Examples_MoverStages.fmu > Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)