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 1.499/1.499, allocations: 287.4 MB / 302.6 MB, free: 8.277 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.0009296/0.0009296, allocations: 191.8 kB / 371.1 MB, free: 10.83 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.254/1.254, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007425/0.0007427, allocations: 103.5 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003568, allocations: 11.64 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1904, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.08158/0.272, allocations: 87.85 MB / 1.065 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.4582/0.7302, allocations: 31.46 MB / 1.095 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006295/0.7366, allocations: 128.3 kB / 1.095 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00585/0.7424, allocations: 1.375 MB / 1.097 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01393/0.7564, allocations: 3.643 MB / 1.1 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009732/0.7662, allocations: 2.868 MB / 1.103 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.016/0.7822, allocations: 10.32 MB / 1.113 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005953/0.7881, allocations: 2.88 MB / 1.116 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007494/0.7956, allocations: 3.097 MB / 1.119 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005499/0.8012, allocations: 2.731 MB / 1.122 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001361/0.8025, allocations: 165.9 kB / 1.122 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006991/0.8095, allocations: 1.872 MB / 1.124 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002365/0.8119, allocations: 1.416 MB / 1.125 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002634/0.8146, allocations: 0.9902 MB / 1.126 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009091/0.8237, allocations: 6.149 MB / 1.132 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.8237, allocations: 1.25 kB / 1.132 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.582e-06/0.8237, allocations: 3.938 kB / 1.132 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002678/0.824, allocations: 0 / 1.132 GB, free: 4.789 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.01368/0.8377, allocations: 5.334 MB / 1.137 GB, free: 17.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.8377, allocations: 9.344 kB / 1.137 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008456/0.8386, allocations: 285.3 kB / 1.137 GB, free: 17.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006771/0.8453, allocations: 1.332 MB / 1.139 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01341/0.8588, allocations: 7.006 MB / 1.146 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000756/0.8596, allocations: 315.9 kB / 1.146 GB, free: 12.85 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006228/0.8602, allocations: 234.9 kB / 1.146 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006207/0.8664, allocations: 3.104 MB / 1.149 GB, free: 10.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/0.8665, allocations: 0 / 1.149 GB, free: 10.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.8667, allocations: 89.69 kB / 1.149 GB, free: 10.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/0.8668, allocations: 47.41 kB / 1.149 GB, free: 10.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005416/0.8722, allocations: 2.371 MB / 1.152 GB, free: 9.691 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.02127/0.8935, allocations: 13.13 MB / 1.164 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004709/0.8982, allocations: 1.905 MB / 1.166 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/0.9002, allocations: 0.8699 MB / 1.167 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007954/0.9081, allocations: 4.736 MB / 1.172 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00263/0.9108, allocations: 1.43 MB / 1.173 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001636/0.9124, allocations: 198.1 kB / 1.173 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=87): time 4.388e-06/0.9124, allocations: 1.75 kB / 1.173 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87): time 0.006873/0.9193, allocations: 2.849 MB / 1.176 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.9194, allocations: 115.8 kB / 1.176 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01101/0.9304, allocations: 7.186 MB / 1.183 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002913/0.9307, allocations: 53.7 kB / 1.183 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002167/0.9329, allocations: 2.122 MB / 1.185 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004117/0.9333, allocations: 301.6 kB / 1.186 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.9334, allocations: 34.03 kB / 1.186 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.9336, allocations: 381.9 kB / 1.186 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/0.936, allocations: 1.14 MB / 1.187 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003109/0.9391, allocations: 2.125 MB / 1.189 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005459/0.9446, allocations: 3.138 MB / 1.192 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.476e-05/0.9446, allocations: 8 kB / 1.192 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.007639/0.9523, allocations: 3.543 MB / 1.196 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007199/0.953, allocations: 0.9328 MB / 1.197 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.904e-05/0.9531, allocations: 28 kB / 1.197 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.646e-05/0.9531, allocations: 40 kB / 1.197 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003311/0.9564, allocations: 0.6085 MB / 1.197 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/0.959, allocations: 2.997 MB / 1.2 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004058/0.9631, allocations: 231.1 kB / 1.201 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003939/0.9635, allocations: 179.9 kB / 1.201 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.9635, allocations: 8 kB / 1.201 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006263/0.9698, allocations: 3.48 MB / 1.204 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.965e-05/0.9698, allocations: 32 kB / 1.204 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/0.9699, allocations: 39.94 kB / 1.204 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/0.9725, allocations: 0.6359 MB / 1.205 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.696e-05/0.9725, allocations: 51.8 kB / 1.205 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004055/0.9766, allocations: 213 kB / 1.205 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003199/0.9769, allocations: 176 kB / 1.205 GB, free: 5.629 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.002832/0.9798, allocations: 1.172 MB / 1.206 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001346/0.9811, allocations: 430.4 kB / 1.207 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006702/0.9878, allocations: 2.722 MB / 1.209 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/0.9879, allocations: 15.98 kB / 1.209 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.9879, allocations: 4 kB / 1.209 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.9879, allocations: 3.984 kB / 1.209 GB, free: 1.277 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.01214/1, allocations: 5.525 MB / 1.215 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1, allocations: 0 / 1.215 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/1.002, allocations: 295.7 kB / 1.215 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003743/1.002, allocations: 145.6 kB / 1.215 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/1.002, allocations: 39.95 kB / 1.215 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/1.004, allocations: 2.659 MB / 1.218 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/1.004, allocations: 12.06 kB / 1.218 GB, free: 8.5 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005753/1.01, allocations: 2.497 MB / 1.22 GB, free: 5.988 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002466/1.012, allocations: 0.7449 MB / 1.221 GB, free: 5.219 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001338/1.013, allocations: 16 kB / 1.221 GB, free: 5.203 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002937/1.016, allocations: 199.7 kB / 1.221 GB, free: 5.008 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/1.017, allocations: 87.33 kB / 1.221 GB, free: 4.926 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/1.017, allocations: 71.94 kB / 1.221 GB, free: 4.855 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.009184/1.026, allocations: 5.147 MB / 1.226 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.61e-07/1.026, allocations: 0 / 1.226 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.007905/1.034, allocations: 1.766 MB / 1.228 GB, free: 13.96 MB / 0.7761 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.008265/1.042, allocations: 3.855 MB / 1.232 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01063/1.053, allocations: 4.625 MB / 1.236 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.053, allocations: 0 / 1.236 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002515/1.055, allocations: 1.04 MB / 1.237 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01307/1.068, allocations: 2.16 MB / 1.24 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09576/1.164, allocations: 40.2 MB / 1.279 GB, free: 7.688 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003637/1.168, allocations: 2.601 MB / 1.281 GB, free: 5.059 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.006319/1.174, allocations: 1.146 MB / 1.282 GB, free: 3.906 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003366/1.178, allocations: 1.921 MB / 1.284 GB, free: 1.984 MB / 0.823 GB Notification: Performance of SimCode: time 1.022e-06/1.178, allocations: 0 / 1.284 GB, free: 1.984 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2058/1.383, allocations: 131.5 MB / 1.413 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/1.384, allocations: 241 kB / 1.413 GB, free: 14.97 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.196/7.58, allocations: 0 / 1.413 GB, free: 14.97 MB / 0.9636 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)