Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.639/2.639, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.00166/0.00166, allocations: 182.1 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.285/2.285, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001221/0.00122, allocations: 99.92 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007559/0.0007561, allocations: 11.38 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.245, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.1323/0.3774, allocations: 79.98 MB / 1.056 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.8598/1.237, allocations: 29.42 MB / 1.085 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006176/1.243, allocations: 122.8 kB / 1.085 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.009209/1.253, allocations: 1.802 MB / 1.087 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02109/1.274, allocations: 4.539 MB / 1.091 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0226/1.296, allocations: 5.076 MB / 1.096 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01516/1.312, allocations: 5.402 MB / 1.102 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007803/1.32, allocations: 2.653 MB / 1.104 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/1.33, allocations: 2.73 MB / 1.107 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006346/1.336, allocations: 1.93 MB / 1.109 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001944/1.338, allocations: 162.2 kB / 1.109 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01043/1.349, allocations: 1.768 MB / 1.111 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003068/1.352, allocations: 1.283 MB / 1.112 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003088/1.355, allocations: 0.991 MB / 1.113 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0122/1.367, allocations: 5.96 MB / 1.119 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.367, allocations: 0 / 1.119 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.456e-06/1.367, allocations: 0 / 1.119 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002867/1.368, allocations: 0 / 1.119 GB, free: 9.93 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.01937/1.387, allocations: 5.344 MB / 1.124 GB, free: 22.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/1.387, allocations: 8.906 kB / 1.124 GB, free: 22.71 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001173/1.388, allocations: 285.4 kB / 1.124 GB, free: 22.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/1.402, allocations: 1.336 MB / 1.126 GB, free: 22.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02669/1.429, allocations: 8.658 MB / 1.134 GB, free: 19.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001573/1.43, allocations: 312.5 kB / 1.134 GB, free: 19.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001304/1.432, allocations: 232.4 kB / 1.134 GB, free: 19.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01301/1.445, allocations: 2.956 MB / 1.137 GB, free: 18.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001474/1.445, allocations: 6.797 kB / 1.137 GB, free: 18.72 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001053/1.446, allocations: 84.41 kB / 1.137 GB, free: 18.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/1.446, allocations: 49.47 kB / 1.138 GB, free: 18.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01657/1.463, allocations: 2.207 MB / 1.14 GB, free: 18.32 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.04835/1.511, allocations: 12.68 MB / 1.152 GB, free: 9.922 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01357/1.525, allocations: 1.724 MB / 1.154 GB, free: 9.098 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01913/1.544, allocations: 4.413 MB / 1.158 GB, free: 5.246 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005225/1.549, allocations: 1.268 MB / 1.159 GB, free: 4.551 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002715/1.552, allocations: 235.2 kB / 1.16 GB, free: 4.395 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 7.735e-06/1.552, allocations: 0 / 1.16 GB, free: 4.395 MB / 0.698 GB Notification: Performance of matching and sorting (n=87): time 0.01475/1.567, allocations: 2.608 MB / 1.162 GB, free: 3.156 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/1.567, allocations: 120.2 kB / 1.162 GB, free: 3.023 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01783/1.585, allocations: 7.117 MB / 1.169 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0007238/1.586, allocations: 61.7 kB / 1.169 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003853/1.59, allocations: 2.137 MB / 1.171 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009203/1.591, allocations: 305.6 kB / 1.172 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/1.591, allocations: 36 kB / 1.172 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002742/1.591, allocations: 381.9 kB / 1.172 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004898/1.596, allocations: 1.058 MB / 1.173 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006142/1.602, allocations: 2.027 MB / 1.175 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005495/1.608, allocations: 1.239 MB / 1.176 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.351e-05/1.608, allocations: 12 kB / 1.176 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01516/1.623, allocations: 3.379 MB / 1.179 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.006724/1.63, allocations: 13.34 MB / 1.193 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-05/1.63, allocations: 34.69 kB / 1.193 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.914e-05/1.63, allocations: 44 kB / 1.193 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007375/1.637, allocations: 0.6201 MB / 1.193 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00443/1.642, allocations: 2.992 MB / 1.196 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006076/1.648, allocations: 225.2 kB / 1.196 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009783/1.649, allocations: 199.9 kB / 1.197 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.649, allocations: 4 kB / 1.197 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01219/1.661, allocations: 3.316 MB / 1.2 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.833e-05/1.662, allocations: 31.98 kB / 1.2 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.744e-05/1.662, allocations: 44 kB / 1.2 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006895/1.668, allocations: 0.64 MB / 1.2 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001414/1.669, allocations: 51.8 kB / 1.201 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009333/1.678, allocations: 212.9 kB / 1.201 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/1.679, allocations: 188 kB / 1.201 GB, free: 11.4 MB / 0.7448 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 (226): * Single equations (assignments): 218 * 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.00623/1.686, allocations: 1.173 MB / 1.202 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002153/1.688, allocations: 430.4 kB / 1.202 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02034/1.708, allocations: 2.612 MB / 1.205 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.356e-05/1.708, allocations: 15.95 kB / 1.205 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/1.708, allocations: 3.984 kB / 1.205 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-05/1.709, allocations: 7.969 kB / 1.205 GB, free: 7.152 MB / 0.7448 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.02753/1.736, allocations: 5.43 MB / 1.21 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/1.736, allocations: 4.031 kB / 1.21 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003203/1.739, allocations: 303.5 kB / 1.211 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006069/1.74, allocations: 141.6 kB / 1.211 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003503/1.74, allocations: 47.94 kB / 1.211 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/1.743, allocations: 2.668 MB / 1.213 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.743, allocations: 4.281 kB / 1.213 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/1.755, allocations: 2.47 MB / 1.216 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003316/1.758, allocations: 0.7565 MB / 1.217 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001679/1.76, allocations: 20 kB / 1.217 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005339/1.765, allocations: 203.7 kB / 1.217 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004515/1.766, allocations: 91.44 kB / 1.217 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003784/1.766, allocations: 79.94 kB / 1.217 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01416/1.78, allocations: 5.104 MB / 1.222 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.303e-06/1.78, allocations: 0 / 1.222 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01214/1.792, allocations: 1.793 MB / 1.224 GB, free: 3.855 MB / 0.7605 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.01461/1.807, allocations: 4.091 MB / 1.228 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02037/1.828, allocations: 4.381 MB / 1.232 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/1.828, allocations: 0 / 1.232 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.005145/1.833, allocations: 0.959 MB / 1.233 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0164/1.849, allocations: 2.19 MB / 1.235 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04099/1.89, allocations: 30.22 MB / 1.265 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004689/1.895, allocations: 2.697 MB / 1.267 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.009597/1.905, allocations: 1.192 MB / 1.268 GB, free: 5.543 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005241/1.91, allocations: 1.94 MB / 1.27 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of SimCode: time 1.282e-06/1.91, allocations: 4 kB / 1.27 GB, free: 3.598 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4564/2.366, allocations: 129.3 MB / 1.397 GB, free: 3.117 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000364/2.367, allocations: 236.1 kB / 1.397 GB, free: 2.879 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.905/11.27, allocations: 0 / 1.397 GB, free: 2.879 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Examples_MoverStages_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Examples_MoverStages.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)