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.727/1.727, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001496/0.001496, allocations: 176 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.235/2.235, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.000979/0.0009791, allocations: 92.19 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003369, allocations: 9.531 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2413, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9503/1.192, allocations: 438.6 MB / 1.328 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.192, allocations: 98.77 kB / 1.329 GB, free: 9.977 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.748/9.94, allocations: 2.273 GB / 3.602 GB, free: 88.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.534e-06/9.94, allocations: 0.8438 kB / 3.602 GB, free: 88.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0008812/9.941, allocations: 113.1 kB / 3.602 GB, free: 88.88 MB / 0.9323 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.02634/9.967, allocations: 7.829 MB / 3.61 GB, free: 86.44 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.429e-05/9.967, allocations: 11.03 kB / 3.61 GB, free: 86.44 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002027/9.969, allocations: 283.3 kB / 3.61 GB, free: 86.39 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008158/9.977, allocations: 1.187 MB / 3.611 GB, free: 86.11 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06579/10.04, allocations: 30.63 MB / 3.641 GB, free: 84.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002659/10.04, allocations: 183 kB / 3.641 GB, free: 84.29 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008867/10.04, allocations: 239.5 kB / 3.641 GB, free: 84.29 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005536/10.05, allocations: 2.911 MB / 3.644 GB, free: 83.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/10.05, allocations: 1.594 kB / 3.644 GB, free: 83.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002474/10.05, allocations: 87.78 kB / 3.644 GB, free: 83.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/10.05, allocations: 49.78 kB / 3.644 GB, free: 83.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004781/10.06, allocations: 2.118 MB / 3.646 GB, free: 83.88 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02408/10.08, allocations: 13.24 MB / 3.659 GB, free: 79.21 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003806/10.08, allocations: 1.625 MB / 3.661 GB, free: 79.18 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009452/10.09, allocations: 5.23 MB / 3.666 GB, free: 77.27 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002158/10.09, allocations: 1.23 MB / 3.667 GB, free: 77.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002583/10.1, allocations: 229.5 kB / 3.667 GB, free: 77.11 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=92): time 7.685e-06/10.1, allocations: 0 / 3.667 GB, free: 77.11 MB / 0.9323 GB Notification: Performance of matching and sorting (n=92): time 0.01111/10.11, allocations: 3.443 MB / 3.671 GB, free: 76.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/10.11, allocations: 114.9 kB / 3.671 GB, free: 76.27 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01073/10.12, allocations: 5.266 MB / 3.676 GB, free: 75.93 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0007282/10.12, allocations: 62.59 kB / 3.676 GB, free: 75.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002331/10.12, allocations: 2.139 MB / 3.678 GB, free: 75.41 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006833/10.12, allocations: 318.1 kB / 3.679 GB, free: 75.22 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/10.12, allocations: 37 kB / 3.679 GB, free: 75.22 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001503/10.12, allocations: 388.2 kB / 3.679 GB, free: 74.91 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/10.13, allocations: 0.8694 MB / 3.68 GB, free: 74.91 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/10.13, allocations: 1.924 MB / 3.682 GB, free: 73.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/10.13, allocations: 1.083 MB / 3.683 GB, free: 73.57 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/10.13, allocations: 11.62 kB / 3.683 GB, free: 73.57 MB / 0.9323 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006966/10.14, allocations: 3.21 MB / 3.686 GB, free: 73.24 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.003262/10.14, allocations: 13.76 MB / 3.699 GB, free: 58.74 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.465e-05/10.14, allocations: 28.91 kB / 3.699 GB, free: 58.74 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/10.14, allocations: 389.1 kB / 3.7 GB, free: 58.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003349/10.14, allocations: 0.5448 MB / 3.7 GB, free: 58.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003791/10.15, allocations: 5.263 MB / 3.705 GB, free: 54.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004845/10.15, allocations: 186.8 kB / 3.706 GB, free: 54.25 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007359/10.15, allocations: 219 kB / 3.706 GB, free: 54.25 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/10.15, allocations: 3.656 kB / 3.706 GB, free: 54.25 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005756/10.16, allocations: 2.896 MB / 3.709 GB, free: 54.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.927e-05/10.16, allocations: 27.91 kB / 3.709 GB, free: 54.16 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/10.16, allocations: 394.1 kB / 3.709 GB, free: 54.12 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/10.16, allocations: 0.5882 MB / 3.71 GB, free: 54.12 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/10.17, allocations: 2.571 MB / 3.712 GB, free: 52.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005121/10.17, allocations: 180.4 kB / 3.712 GB, free: 52.02 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008541/10.17, allocations: 205.4 kB / 3.712 GB, free: 52.02 MB / 0.9323 GB 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 () * Number of clocked 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.004749/10.18, allocations: 1.18 MB / 3.714 GB, free: 51.79 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001648/10.18, allocations: 431.7 kB / 3.714 GB, free: 51.56 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007619/10.19, allocations: 2.777 MB / 3.717 GB, free: 51.31 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/10.19, allocations: 15.73 kB / 3.717 GB, free: 51.31 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/10.19, allocations: 0 / 3.717 GB, free: 51.31 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/10.19, allocations: 9.703 kB / 3.717 GB, free: 51.31 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01582/10.2, allocations: 6.114 MB / 3.723 GB, free: 50.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/10.2, allocations: 3.328 kB / 3.723 GB, free: 50.77 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/10.2, allocations: 216.2 kB / 3.723 GB, free: 50.75 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/10.2, allocations: 420.4 kB / 3.723 GB, free: 50.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/10.2, allocations: 42.98 kB / 3.723 GB, free: 50.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002988/10.21, allocations: 4.956 MB / 3.728 GB, free: 46.39 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/10.21, allocations: 3.938 kB / 3.728 GB, free: 46.39 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00649/10.21, allocations: 2.613 MB / 3.731 GB, free: 45.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003736/10.22, allocations: 0.9484 MB / 3.732 GB, free: 45.35 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001662/10.22, allocations: 29.03 kB / 3.732 GB, free: 45.35 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003474/10.22, allocations: 167.7 kB / 3.732 GB, free: 45.32 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/10.22, allocations: 87.17 kB / 3.732 GB, free: 45.32 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002366/10.22, allocations: 73.94 kB / 3.732 GB, free: 45.32 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.008887/10.23, allocations: 4.012 MB / 3.736 GB, free: 45.14 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.41e-07/10.23, allocations: 0 / 3.736 GB, free: 45.14 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01166/10.24, allocations: 1.955 MB / 3.738 GB, free: 44.91 MB / 0.9323 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) * Number of clocked states: 0 () * 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.01187/10.26, allocations: 5.579 MB / 3.743 GB, free: 42.83 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.009859/10.27, allocations: 3.871 MB / 3.747 GB, free: 41.73 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/10.27, allocations: 0 / 3.747 GB, free: 41.73 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002504/10.27, allocations: 0.9343 MB / 3.748 GB, free: 41.45 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01531/10.28, allocations: 2.162 MB / 3.75 GB, free: 40.96 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03777/10.32, allocations: 30.79 MB / 3.78 GB, free: 30.28 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003991/10.33, allocations: 2.688 MB / 3.783 GB, free: 45.22 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.006642/10.33, allocations: 1.216 MB / 3.784 GB, free: 45.03 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003405/10.34, allocations: 1.929 MB / 3.786 GB, free: 43.57 MB / 0.9636 GB Notification: Performance of SimCode: time 1.212e-06/10.34, allocations: 1.312 kB / 3.786 GB, free: 43.57 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9942/11.33, allocations: 149.1 MB / 3.931 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/11.33, allocations: 249.1 kB / 3.932 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.431/19.76, allocations: 0 / 3.932 GB, free: 113.8 MB / 0.9636 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)