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.509/1.509, allocations: 252 MB / 267 MB, free: 10.97 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.001067/0.001067, allocations: 174.2 kB / 326.6 MB, free: 2.23 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.029/2.029, allocations: 205.4 MB / 0.5777 GB, free: 20.52 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.0008415/0.000841, allocations: 92.06 kB / 0.6823 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 15.06 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2464, allocations: 106.3 MB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.07296/0.3194, allocations: 87.85 MB / 0.9861 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.05259/0.372, allocations: 31.4 MB / 1.017 GB, free: 8.805 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006945/0.379, allocations: 127.1 kB / 1.017 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.006902/0.386, allocations: 1.378 MB / 1.018 GB, free: 7.293 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01439/0.4004, allocations: 3.646 MB / 1.022 GB, free: 3.633 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01032/0.4108, allocations: 2.871 MB / 1.025 GB, free: 0.7891 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01781/0.4286, allocations: 10.19 MB / 1.035 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006811/0.4355, allocations: 2.617 MB / 1.037 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008958/0.4445, allocations: 3.054 MB / 1.04 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006248/0.4508, allocations: 2.731 MB / 1.043 GB, free: 14.09 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001388/0.4522, allocations: 168 kB / 1.043 GB, free: 13.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006406/0.4586, allocations: 1.833 MB / 1.045 GB, free: 12.09 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002138/0.4608, allocations: 1.413 MB / 1.046 GB, free: 10.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002002/0.4628, allocations: 0.9873 MB / 1.047 GB, free: 9.68 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008516/0.4713, allocations: 6.11 MB / 1.053 GB, free: 3.559 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4714, allocations: 0 / 1.053 GB, free: 3.559 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4714, allocations: 0 / 1.053 GB, free: 3.559 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002015/0.4716, allocations: 0 / 1.053 GB, free: 3.559 MB / 0.698 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.558/1.03, allocations: 5.371 MB / 1.058 GB, free: 145.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/1.03, allocations: 8.188 kB / 1.058 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001076/1.031, allocations: 288.8 kB / 1.059 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007202/1.038, allocations: 1.334 MB / 1.06 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01591/1.054, allocations: 6.821 MB / 1.066 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001017/1.055, allocations: 312.5 kB / 1.067 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001019/1.056, allocations: 237.2 kB / 1.067 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008192/1.064, allocations: 3.101 MB / 1.07 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-05/1.064, allocations: 5.469 kB / 1.07 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002658/1.065, allocations: 82.5 kB / 1.07 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.572e-05/1.065, allocations: 50.69 kB / 1.07 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007086/1.072, allocations: 2.366 MB / 1.072 GB, free: 143.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.02264/1.094, allocations: 13.12 MB / 1.085 GB, free: 134.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00466/1.099, allocations: 1.901 MB / 1.087 GB, free: 133.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/1.101, allocations: 0.8618 MB / 1.088 GB, free: 133 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008056/1.109, allocations: 4.725 MB / 1.093 GB, free: 129 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002599/1.112, allocations: 1.426 MB / 1.094 GB, free: 128.3 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001888/1.114, allocations: 205.8 kB / 1.094 GB, free: 128.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 4.108e-06/1.114, allocations: 4 kB / 1.094 GB, free: 128.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=87): time 0.007297/1.121, allocations: 2.845 MB / 1.097 GB, free: 126.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/1.121, allocations: 115.7 kB / 1.097 GB, free: 126.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008678/1.13, allocations: 7.179 MB / 1.104 GB, free: 120 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00054/1.13, allocations: 60.89 kB / 1.104 GB, free: 119.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001586/1.132, allocations: 2.119 MB / 1.106 GB, free: 117.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003739/1.132, allocations: 302.8 kB / 1.107 GB, free: 117.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/1.133, allocations: 33.17 kB / 1.107 GB, free: 117.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.133, allocations: 389.8 kB / 1.107 GB, free: 117.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002169/1.135, allocations: 1.124 MB / 1.108 GB, free: 116 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/1.137, allocations: 2.107 MB / 1.11 GB, free: 113.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002317/1.14, allocations: 1.297 MB / 1.111 GB, free: 112.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/1.14, allocations: 8 kB / 1.111 GB, free: 112.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006699/1.146, allocations: 3.501 MB / 1.115 GB, free: 108.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004953/1.147, allocations: 0.9295 MB / 1.116 GB, free: 107.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/1.147, allocations: 28 kB / 1.116 GB, free: 107.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.367e-05/1.147, allocations: 44 kB / 1.116 GB, free: 107.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003278/1.15, allocations: 0.6046 MB / 1.116 GB, free: 106.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/1.152, allocations: 3 MB / 1.119 GB, free: 103.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00391/1.156, allocations: 222.1 kB / 1.119 GB, free: 103.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003389/1.157, allocations: 182.8 kB / 1.12 GB, free: 103.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/1.157, allocations: 5.875 kB / 1.12 GB, free: 103.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005244/1.162, allocations: 3.438 MB / 1.123 GB, free: 99.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.942e-05/1.162, allocations: 28 kB / 1.123 GB, free: 99.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.364e-05/1.162, allocations: 44 kB / 1.123 GB, free: 99.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002563/1.165, allocations: 0.6241 MB / 1.124 GB, free: 98.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.865e-05/1.165, allocations: 59.78 kB / 1.124 GB, free: 98.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004215/1.169, allocations: 209.8 kB / 1.124 GB, free: 98.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002815/1.169, allocations: 177.3 kB / 1.124 GB, free: 98.54 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.002619/1.172, allocations: 1.165 MB / 1.125 GB, free: 97.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001249/1.173, allocations: 430.4 kB / 1.126 GB, free: 96.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005977/1.179, allocations: 2.731 MB / 1.128 GB, free: 94.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/1.179, allocations: 12 kB / 1.128 GB, free: 94.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.179, allocations: 0 / 1.128 GB, free: 94.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/1.179, allocations: 7.984 kB / 1.128 GB, free: 94.2 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.01054/1.19, allocations: 5.508 MB / 1.134 GB, free: 88.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.19, allocations: 3.875 kB / 1.134 GB, free: 88.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/1.191, allocations: 295.7 kB / 1.134 GB, free: 88.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003255/1.191, allocations: 145.6 kB / 1.134 GB, free: 88.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.359e-05/1.192, allocations: 43.95 kB / 1.134 GB, free: 88.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/1.193, allocations: 2.659 MB / 1.137 GB, free: 85.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.193, allocations: 8.125 kB / 1.137 GB, free: 85.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005083/1.198, allocations: 2.496 MB / 1.139 GB, free: 82.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001905/1.2, allocations: 0.7449 MB / 1.14 GB, free: 82.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004632/1.2, allocations: 23.95 kB / 1.14 GB, free: 82.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/1.202, allocations: 203.6 kB / 1.14 GB, free: 81.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/1.202, allocations: 80.88 kB / 1.14 GB, free: 81.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/1.203, allocations: 71.94 kB / 1.14 GB, free: 81.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006087/1.209, allocations: 5.147 MB / 1.145 GB, free: 76.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/1.209, allocations: 0 / 1.145 GB, free: 76.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005862/1.215, allocations: 1.724 MB / 1.147 GB, free: 74.92 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.006703/1.221, allocations: 3.84 MB / 1.151 GB, free: 71.28 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009846/1.231, allocations: 4.572 MB / 1.155 GB, free: 66.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.231, allocations: 0 / 1.155 GB, free: 66.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002334/1.234, allocations: 1.047 MB / 1.156 GB, free: 65.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009605/1.243, allocations: 2.191 MB / 1.158 GB, free: 63.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07343/1.317, allocations: 40.07 MB / 1.198 GB, free: 20.78 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/1.319, allocations: 2.608 MB / 1.2 GB, free: 18.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005628/1.324, allocations: 1.134 MB / 1.201 GB, free: 17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002282/1.327, allocations: 1.917 MB / 1.203 GB, free: 15.08 MB / 0.698 GB Notification: Performance of SimCode: time 1.342e-06/1.327, allocations: 7.875 kB / 1.203 GB, free: 15.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.124/3.45, allocations: 130.9 MB / 1.331 GB, free: 12.8 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/3.451, allocations: 260 kB / 1.331 GB, free: 12.46 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.049/10.5, allocations: 0 / 1.331 GB, free: 12.46 MB / 0.823 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)