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.708/1.708, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.001425/0.001425, allocations: 178.7 kB / 371.8 MB, free: 10.3 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.939/1.939, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009484/0.0009482, allocations: 105 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004434, allocations: 12.41 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2925, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.273/1.566, allocations: 446.2 MB / 1.415 GB, free: 15.28 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/1.566, allocations: 97.08 kB / 1.415 GB, free: 15.23 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.43/12, allocations: 2.334 GB / 3.749 GB, free: 120.3 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.709e-06/12, allocations: 0 / 3.749 GB, free: 120.3 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0009091/12, allocations: 111.2 kB / 3.749 GB, free: 120.3 MB / 1.01 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.02713/12.03, allocations: 7.832 MB / 3.757 GB, free: 118.1 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/12.03, allocations: 10.97 kB / 3.757 GB, free: 118.1 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001621/12.03, allocations: 296.4 kB / 3.757 GB, free: 118.1 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008146/12.04, allocations: 1.18 MB / 3.758 GB, free: 117.8 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06969/12.11, allocations: 31.32 MB / 3.789 GB, free: 116 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003027/12.11, allocations: 183.3 kB / 3.789 GB, free: 116 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/12.11, allocations: 237.8 kB / 3.789 GB, free: 116 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005909/12.11, allocations: 2.902 MB / 3.792 GB, free: 115.6 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/12.11, allocations: 3.094 kB / 3.792 GB, free: 115.6 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002839/12.11, allocations: 92.08 kB / 3.792 GB, free: 115.6 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.912e-05/12.11, allocations: 46.53 kB / 3.792 GB, free: 115.6 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004853/12.12, allocations: 2.127 MB / 3.794 GB, free: 115.6 MB / 1.01 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.02598/12.15, allocations: 13.25 MB / 3.807 GB, free: 110.9 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004675/12.15, allocations: 1.632 MB / 3.809 GB, free: 110.9 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01064/12.16, allocations: 5.246 MB / 3.814 GB, free: 109 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002162/12.16, allocations: 1.218 MB / 3.815 GB, free: 108.9 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002666/12.17, allocations: 230.3 kB / 3.816 GB, free: 108.8 MB / 1.01 GB Notification: Performance of pre-optimization done (n=92): time 9.327e-06/12.17, allocations: 0 / 3.816 GB, free: 108.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=92): time 0.01132/12.18, allocations: 3.443 MB / 3.819 GB, free: 108.1 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/12.18, allocations: 119.1 kB / 3.819 GB, free: 108 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009993/12.19, allocations: 5.267 MB / 3.824 GB, free: 107.6 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0007589/12.19, allocations: 60.11 kB / 3.824 GB, free: 107.6 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002227/12.19, allocations: 2.145 MB / 3.826 GB, free: 107.1 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007016/12.19, allocations: 313.7 kB / 3.827 GB, free: 106.9 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/12.19, allocations: 38.16 kB / 3.827 GB, free: 106.9 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001373/12.19, allocations: 385.8 kB / 3.827 GB, free: 106.6 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/12.19, allocations: 0.873 MB / 3.828 GB, free: 106.6 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002289/12.2, allocations: 1.931 MB / 3.83 GB, free: 105.3 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/12.2, allocations: 1.07 MB / 3.831 GB, free: 105.3 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/12.2, allocations: 10.16 kB / 3.831 GB, free: 105.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007282/12.21, allocations: 3.21 MB / 3.834 GB, free: 105 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.002978/12.21, allocations: 13.75 MB / 3.847 GB, free: 90.46 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-05/12.21, allocations: 30.56 kB / 3.847 GB, free: 90.46 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/12.21, allocations: 395.8 kB / 3.848 GB, free: 90.43 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003526/12.21, allocations: 0.5456 MB / 3.848 GB, free: 90.43 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00385/12.22, allocations: 5.25 MB / 3.853 GB, free: 86.01 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/12.22, allocations: 191.7 kB / 3.854 GB, free: 86 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008383/12.22, allocations: 225.5 kB / 3.854 GB, free: 86 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/12.22, allocations: 6.062 kB / 3.854 GB, free: 86 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00588/12.23, allocations: 2.896 MB / 3.857 GB, free: 85.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.654e-05/12.23, allocations: 31.19 kB / 3.857 GB, free: 85.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/12.23, allocations: 385.5 kB / 3.857 GB, free: 85.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/12.23, allocations: 0.5936 MB / 3.858 GB, free: 85.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/12.23, allocations: 2.568 MB / 3.86 GB, free: 83.82 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004141/12.24, allocations: 181.9 kB / 3.86 GB, free: 83.82 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006041/12.24, allocations: 208.8 kB / 3.861 GB, free: 83.82 MB / 1.01 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.003665/12.24, allocations: 1.171 MB / 3.862 GB, free: 83.61 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001712/12.24, allocations: 434.7 kB / 3.862 GB, free: 83.38 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007774/12.25, allocations: 2.772 MB / 3.865 GB, free: 83.19 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/12.25, allocations: 16.33 kB / 3.865 GB, free: 83.19 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/12.25, allocations: 0 / 3.865 GB, free: 83.19 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/12.25, allocations: 10.88 kB / 3.865 GB, free: 83.18 MB / 1.01 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.01491/12.27, allocations: 6.143 MB / 3.871 GB, free: 82.67 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/12.27, allocations: 0 / 3.871 GB, free: 82.67 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/12.27, allocations: 215.3 kB / 3.871 GB, free: 82.67 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/12.27, allocations: 417.8 kB / 3.871 GB, free: 82.62 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/12.27, allocations: 47.7 kB / 3.871 GB, free: 82.62 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002914/12.27, allocations: 4.957 MB / 3.876 GB, free: 78.34 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/12.27, allocations: 3.953 kB / 3.876 GB, free: 78.33 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006749/12.28, allocations: 2.612 MB / 3.879 GB, free: 77.68 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003594/12.28, allocations: 0.9444 MB / 3.88 GB, free: 77.34 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001473/12.28, allocations: 21.16 kB / 3.88 GB, free: 77.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003012/12.29, allocations: 159.9 kB / 3.88 GB, free: 77.33 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/12.29, allocations: 84.16 kB / 3.88 GB, free: 77.33 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002052/12.29, allocations: 81.88 kB / 3.88 GB, free: 77.33 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00834/12.3, allocations: 4.01 MB / 3.884 GB, free: 77.15 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.41e-07/12.3, allocations: 1.344 kB / 3.884 GB, free: 77.15 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0116/12.31, allocations: 1.99 MB / 3.886 GB, free: 76.93 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) * 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.01202/12.32, allocations: 5.622 MB / 3.891 GB, free: 75.05 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00967/12.33, allocations: 3.863 MB / 3.895 GB, free: 75.02 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/12.33, allocations: 0 / 3.895 GB, free: 75.02 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002389/12.33, allocations: 0.9394 MB / 3.896 GB, free: 75.01 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0121/12.34, allocations: 2.162 MB / 3.898 GB, free: 74.98 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03159/12.38, allocations: 30.81 MB / 3.928 GB, free: 49.65 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004182/12.38, allocations: 2.688 MB / 3.931 GB, free: 48.84 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.007561/12.39, allocations: 1.209 MB / 3.932 GB, free: 48.67 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003742/12.39, allocations: 1.932 MB / 3.934 GB, free: 48.66 MB / 1.01 GB Notification: Performance of SimCode: time 1.038e-05/12.39, allocations: 0 / 3.934 GB, free: 48.66 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.26/13.65, allocations: 149.6 MB / 4.08 GB, free: 131.6 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002801/13.65, allocations: 242.2 kB / 4.08 GB, free: 131.3 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.97/22.62, allocations: 0 / 4.08 GB, free: 131.3 MB / 1.026 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)