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.668/1.668, allocations: 251.9 MB / 266.8 MB, free: 11.03 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.001089/0.001088, allocations: 186.8 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0008854/0.0008855, allocations: 84 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 9.047 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2362, allocations: 106.3 MB / 0.9001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.06343/0.2996, allocations: 79.98 MB / 0.9783 GB, free: 236 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.04691/0.3466, allocations: 29.4 MB / 1.007 GB, free: 2.781 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005536/0.3521, allocations: 123.1 kB / 1.007 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.007165/0.3593, allocations: 1.8 MB / 1.009 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.02084/0.3802, allocations: 4.533 MB / 1.013 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01702/0.3972, allocations: 4.969 MB / 1.018 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.0134/0.4106, allocations: 5.409 MB / 1.023 GB, free: 1.977 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007429/0.4181, allocations: 2.645 MB / 1.026 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008205/0.4264, allocations: 2.69 MB / 1.029 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00504/0.4314, allocations: 1.937 MB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001779/0.4333, allocations: 160 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007038/0.4403, allocations: 1.728 MB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002633/0.443, allocations: 1.273 MB / 1.034 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002835/0.4458, allocations: 0.9912 MB / 1.035 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.457, allocations: 5.911 MB / 1.04 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.4571, allocations: 0 / 1.04 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.889e-06/0.4571, allocations: 8 kB / 1.04 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003384/0.4574, allocations: 0 / 1.04 GB, free: 0.5469 MB / 0.6823 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.0153/0.4728, allocations: 5.324 MB / 1.046 GB, free: 11.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.4728, allocations: 8.031 kB / 1.046 GB, free: 11.13 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001098/0.4739, allocations: 291.1 kB / 1.046 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007486/0.4814, allocations: 1.332 MB / 1.047 GB, free: 9.496 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01908/0.5006, allocations: 8.681 MB / 1.056 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008721/0.5015, allocations: 308.9 kB / 1.056 GB, free: 444 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008886/0.5024, allocations: 236 kB / 1.056 GB, free: 208 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.477/0.9794, allocations: 2.941 MB / 1.059 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-05/0.9795, allocations: 6.312 kB / 1.059 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003768/0.9799, allocations: 86.67 kB / 1.059 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/0.98, allocations: 53.91 kB / 1.059 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005857/0.9858, allocations: 2.195 MB / 1.061 GB, free: 142.7 MB / 0.698 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.02711/1.013, allocations: 12.67 MB / 1.074 GB, free: 138.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005912/1.019, allocations: 1.736 MB / 1.075 GB, free: 137.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01005/1.029, allocations: 4.397 MB / 1.08 GB, free: 134.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002902/1.032, allocations: 1.275 MB / 1.081 GB, free: 134 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002193/1.034, allocations: 233.9 kB / 1.081 GB, free: 133.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 7.975e-06/1.034, allocations: 1.031 kB / 1.081 GB, free: 133.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=87): time 0.008166/1.042, allocations: 2.601 MB / 1.084 GB, free: 132.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/1.043, allocations: 113 kB / 1.084 GB, free: 132.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01311/1.056, allocations: 7.124 MB / 1.091 GB, free: 129 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007052/1.056, allocations: 59.58 kB / 1.091 GB, free: 129 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002259/1.059, allocations: 2.136 MB / 1.093 GB, free: 127.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005796/1.059, allocations: 305.6 kB / 1.093 GB, free: 126.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/1.059, allocations: 39.88 kB / 1.093 GB, free: 126.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.06, allocations: 384 kB / 1.094 GB, free: 126.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002384/1.062, allocations: 1.046 MB / 1.095 GB, free: 126 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002631/1.065, allocations: 2.012 MB / 1.097 GB, free: 124.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/1.067, allocations: 1.219 MB / 1.098 GB, free: 123.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/1.067, allocations: 15.66 kB / 1.098 GB, free: 123.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007143/1.074, allocations: 3.341 MB / 1.101 GB, free: 122 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00243/1.077, allocations: 13.34 MB / 1.114 GB, free: 107.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.27e-05/1.077, allocations: 32.25 kB / 1.114 GB, free: 107.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.391e-05/1.077, allocations: 42.25 kB / 1.114 GB, free: 107.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003644/1.08, allocations: 0.611 MB / 1.115 GB, free: 107.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/1.083, allocations: 2.997 MB / 1.118 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003973/1.086, allocations: 232 kB / 1.118 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004496/1.087, allocations: 191.9 kB / 1.118 GB, free: 104.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/1.087, allocations: 4 kB / 1.118 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005171/1.092, allocations: 3.287 MB / 1.121 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.206e-05/1.092, allocations: 31.88 kB / 1.121 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-05/1.092, allocations: 41.38 kB / 1.121 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00248/1.095, allocations: 0.6279 MB / 1.122 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-05/1.095, allocations: 55.8 kB / 1.122 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003435/1.098, allocations: 217 kB / 1.122 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002778/1.099, allocations: 184 kB / 1.122 GB, free: 99.99 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * 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 (222): * Single equations (assignments): 214 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0025/1.101, allocations: 1.165 MB / 1.123 GB, free: 98.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009896/1.102, allocations: 430.4 kB / 1.124 GB, free: 98.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00588/1.108, allocations: 2.617 MB / 1.126 GB, free: 95.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/1.108, allocations: 12 kB / 1.126 GB, free: 95.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.108, allocations: 0 / 1.126 GB, free: 95.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/1.108, allocations: 11.97 kB / 1.126 GB, free: 95.79 MB / 0.698 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.01019/1.118, allocations: 5.429 MB / 1.132 GB, free: 90.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/1.118, allocations: 3 kB / 1.132 GB, free: 90.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/1.12, allocations: 300.4 kB / 1.132 GB, free: 89.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003348/1.12, allocations: 137.7 kB / 1.132 GB, free: 89.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.375e-05/1.12, allocations: 47.95 kB / 1.132 GB, free: 89.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/1.121, allocations: 2.675 MB / 1.135 GB, free: 87.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.121, allocations: 4.031 kB / 1.135 GB, free: 87.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004745/1.126, allocations: 2.464 MB / 1.137 GB, free: 84.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002004/1.128, allocations: 0.7449 MB / 1.138 GB, free: 83.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006082/1.129, allocations: 23.98 kB / 1.138 GB, free: 83.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002074/1.131, allocations: 203.7 kB / 1.138 GB, free: 83.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/1.131, allocations: 84.83 kB / 1.138 GB, free: 83.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/1.131, allocations: 75.94 kB / 1.138 GB, free: 83.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005647/1.137, allocations: 5.104 MB / 1.143 GB, free: 78.26 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/1.137, allocations: 4 kB / 1.143 GB, free: 78.26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00519/1.142, allocations: 1.753 MB / 1.145 GB, free: 76.55 MB / 0.698 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 (110): * Single equations (assignments): 94 * 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: 2 * 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: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006722/1.149, allocations: 4.067 MB / 1.149 GB, free: 72.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009373/1.158, allocations: 4.341 MB / 1.153 GB, free: 68.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.158, allocations: 0 / 1.153 GB, free: 68.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002322/1.16, allocations: 0.9605 MB / 1.154 GB, free: 67.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009522/1.17, allocations: 2.182 MB / 1.156 GB, free: 65.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02447/1.194, allocations: 30.2 MB / 1.186 GB, free: 34.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/1.197, allocations: 2.687 MB / 1.188 GB, free: 31.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.006215/1.203, allocations: 1.196 MB / 1.19 GB, free: 30.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003837/1.207, allocations: 1.936 MB / 1.192 GB, free: 28.38 MB / 0.698 GB Notification: Performance of SimCode: time 1.883e-06/1.207, allocations: 0 / 1.192 GB, free: 28.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2078/1.415, allocations: 128.8 MB / 1.317 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/1.415, allocations: 251.8 kB / 1.318 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.914/8.329, allocations: 0 / 1.318 GB, free: 11.89 MB / 0.8073 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)