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.848/1.848, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001473/0.001473, allocations: 177 kB / 377.1 MB, free: 1.535 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.981/1.981, allocations: 205.4 MB / 0.6366 GB, free: 8.629 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.0009962/0.0009961, allocations: 98.59 kB / 0.7509 GB, free: 63.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.000383, allocations: 16 kB / 0.8748 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3248, allocations: 116.3 MB / 0.9884 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.972/2.297, allocations: 447.2 MB / 1.425 GB, free: 267.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/2.298, allocations: 102.2 kB / 1.425 GB, free: 267.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 10.27/12.57, allocations: 2.334 GB / 3.759 GB, free: 92.05 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.264e-06/12.57, allocations: 0 / 3.759 GB, free: 92.05 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001246/12.57, allocations: 105.9 kB / 3.759 GB, free: 92.03 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.03063/12.6, allocations: 7.838 MB / 3.767 GB, free: 89.59 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/12.6, allocations: 9.688 kB / 3.767 GB, free: 89.59 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001753/12.6, allocations: 291.4 kB / 3.767 GB, free: 89.55 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008742/12.61, allocations: 1.185 MB / 3.768 GB, free: 89.27 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0772/12.69, allocations: 31.31 MB / 3.799 GB, free: 87.45 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003527/12.69, allocations: 180.5 kB / 3.799 GB, free: 87.45 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001443/12.69, allocations: 245.9 kB / 3.799 GB, free: 87.45 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009981/12.7, allocations: 2.897 MB / 3.802 GB, free: 87.06 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001227/12.7, allocations: 4.938 kB / 3.802 GB, free: 87.06 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009696/12.7, allocations: 89.02 kB / 3.802 GB, free: 87.06 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/12.7, allocations: 49.59 kB / 3.802 GB, free: 87.06 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006253/12.71, allocations: 2.118 MB / 3.804 GB, free: 87.04 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.02893/12.74, allocations: 13.26 MB / 3.817 GB, free: 82.37 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004529/12.74, allocations: 1.634 MB / 3.819 GB, free: 82.33 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01011/12.75, allocations: 5.25 MB / 3.824 GB, free: 80.43 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002323/12.75, allocations: 1.221 MB / 3.825 GB, free: 80.36 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002722/12.76, allocations: 236.3 kB / 3.825 GB, free: 80.27 MB / 1.01 GB Notification: Performance of pre-optimization done (n=92): time 9.167e-06/12.76, allocations: 0 / 3.825 GB, free: 80.27 MB / 1.01 GB Notification: Performance of matching and sorting (n=92): time 0.01232/12.77, allocations: 3.434 MB / 3.829 GB, free: 79.56 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/12.77, allocations: 114.5 kB / 3.829 GB, free: 79.43 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01221/12.78, allocations: 5.279 MB / 3.834 GB, free: 79.08 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0008305/12.78, allocations: 64.09 kB / 3.834 GB, free: 79.05 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002807/12.78, allocations: 2.132 MB / 3.836 GB, free: 78.57 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008102/12.78, allocations: 323.3 kB / 3.836 GB, free: 78.37 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/12.78, allocations: 42.11 kB / 3.837 GB, free: 78.37 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001701/12.78, allocations: 384.5 kB / 3.837 GB, free: 78.06 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/12.79, allocations: 0.8683 MB / 3.838 GB, free: 78.05 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/12.79, allocations: 1.936 MB / 3.84 GB, free: 76.74 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/12.79, allocations: 1.073 MB / 3.841 GB, free: 76.72 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/12.79, allocations: 10.22 kB / 3.841 GB, free: 76.72 MB / 1.01 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00764/12.8, allocations: 3.208 MB / 3.844 GB, free: 76.39 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.003588/12.8, allocations: 13.75 MB / 3.857 GB, free: 61.89 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.395e-05/12.8, allocations: 33.75 kB / 3.857 GB, free: 61.89 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/12.8, allocations: 397.8 kB / 3.858 GB, free: 61.86 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003623/12.81, allocations: 0.5406 MB / 3.858 GB, free: 61.86 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004102/12.81, allocations: 5.261 MB / 3.863 GB, free: 57.18 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005148/12.82, allocations: 188.3 kB / 3.864 GB, free: 57.14 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007868/12.82, allocations: 212.7 kB / 3.864 GB, free: 57.12 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/12.82, allocations: 3.969 kB / 3.864 GB, free: 57.12 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005904/12.82, allocations: 2.903 MB / 3.867 GB, free: 56.19 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-05/12.82, allocations: 28.12 kB / 3.867 GB, free: 56.19 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/12.82, allocations: 389.9 kB / 3.867 GB, free: 56.08 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/12.83, allocations: 0.5836 MB / 3.868 GB, free: 56.03 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/12.83, allocations: 2.578 MB / 3.87 GB, free: 53.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004424/12.83, allocations: 175.4 kB / 3.87 GB, free: 53.69 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004837/12.83, allocations: 206.8 kB / 3.87 GB, free: 53.67 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.003598/12.84, allocations: 1.186 MB / 3.872 GB, free: 52.98 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001558/12.84, allocations: 434.7 kB / 3.872 GB, free: 52.74 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00768/12.85, allocations: 2.776 MB / 3.875 GB, free: 51.77 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/12.85, allocations: 15.03 kB / 3.875 GB, free: 51.77 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/12.85, allocations: 3.609 kB / 3.875 GB, free: 51.77 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/12.85, allocations: 7.641 kB / 3.875 GB, free: 51.77 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.01621/12.86, allocations: 6.124 MB / 3.881 GB, free: 49.24 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/12.86, allocations: 0 / 3.881 GB, free: 49.24 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/12.86, allocations: 218.5 kB / 3.881 GB, free: 49.22 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0012/12.87, allocations: 416.7 kB / 3.881 GB, free: 49.07 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001852/12.87, allocations: 46.44 kB / 3.881 GB, free: 49.06 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00623/12.87, allocations: 4.959 MB / 3.886 GB, free: 60.45 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/12.87, allocations: 2.25 kB / 3.886 GB, free: 60.45 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008495/12.88, allocations: 2.617 MB / 3.889 GB, free: 59.2 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004083/12.88, allocations: 0.946 MB / 3.89 GB, free: 58.61 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001886/12.89, allocations: 23.89 kB / 3.89 GB, free: 58.59 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003424/12.89, allocations: 168.7 kB / 3.89 GB, free: 58.55 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/12.89, allocations: 83.47 kB / 3.89 GB, free: 58.54 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002294/12.89, allocations: 80.84 kB / 3.89 GB, free: 58.53 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.008815/12.9, allocations: 4.004 MB / 3.894 GB, free: 56.97 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.593e-06/12.9, allocations: 4 kB / 3.894 GB, free: 56.96 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01278/12.91, allocations: 1.992 MB / 3.896 GB, free: 56.55 MB / 1.026 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.01335/12.93, allocations: 5.614 MB / 3.901 GB, free: 53.86 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.009576/12.94, allocations: 3.862 MB / 3.905 GB, free: 52.65 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/12.94, allocations: 4 kB / 3.905 GB, free: 52.65 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.002396/12.94, allocations: 0.9372 MB / 3.906 GB, free: 52.37 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0116/12.95, allocations: 2.161 MB / 3.908 GB, free: 51.89 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04004/12.99, allocations: 30.83 MB / 3.938 GB, free: 41.18 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003595/12.99, allocations: 2.689 MB / 3.941 GB, free: 40.12 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.007202/13, allocations: 1.214 MB / 3.942 GB, free: 39.93 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003876/13, allocations: 1.925 MB / 3.944 GB, free: 38.48 MB / 1.042 GB Notification: Performance of SimCode: time 2.104e-06/13, allocations: 0 / 3.944 GB, free: 38.48 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9894/13.99, allocations: 149.5 MB / 4.09 GB, free: 126.3 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/13.99, allocations: 244.2 kB / 4.09 GB, free: 126 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.206/23.2, allocations: 4 kB / 4.09 GB, free: 126 MB / 1.042 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)