Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.745/1.745, allocations: 288.2 MB / 303.2 MB, free: 8.082 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.00134/0.00134, allocations: 187.1 kB / 371.8 MB, free: 10.28 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.669/1.669, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.000815/0.0008151, allocations: 96.86 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004002, allocations: 11.34 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2472, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.07868/0.3259, allocations: 79.97 MB / 1.058 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.6931/1.019, allocations: 29.41 MB / 1.086 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008054/1.027, allocations: 120.7 kB / 1.086 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00941/1.037, allocations: 1.799 MB / 1.088 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02394/1.061, allocations: 4.541 MB / 1.093 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02003/1.081, allocations: 5.069 MB / 1.098 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01907/1.1, allocations: 5.409 MB / 1.103 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00833/1.108, allocations: 2.656 MB / 1.105 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01052/1.119, allocations: 2.731 MB / 1.108 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006937/1.126, allocations: 1.925 MB / 1.11 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001785/1.127, allocations: 161.1 kB / 1.11 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009967/1.137, allocations: 1.773 MB / 1.112 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003024/1.141, allocations: 1.279 MB / 1.113 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00354/1.144, allocations: 0.9866 MB / 1.114 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01303/1.157, allocations: 5.964 MB / 1.12 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.157, allocations: 1.188 kB / 1.12 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.328e-06/1.157, allocations: 3.938 kB / 1.12 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003971/1.158, allocations: 0 / 1.12 GB, free: 9.469 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.0179/1.175, allocations: 5.345 MB / 1.125 GB, free: 22.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/1.176, allocations: 9.188 kB / 1.125 GB, free: 22.25 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001469/1.177, allocations: 288 kB / 1.125 GB, free: 22.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007957/1.185, allocations: 1.334 MB / 1.127 GB, free: 21.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02104/1.206, allocations: 8.655 MB / 1.135 GB, free: 19.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009335/1.207, allocations: 313.6 kB / 1.135 GB, free: 19.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001299/1.208, allocations: 239.5 kB / 1.136 GB, free: 19.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00758/1.216, allocations: 2.946 MB / 1.139 GB, free: 18.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-05/1.216, allocations: 5.156 kB / 1.139 GB, free: 18.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003011/1.216, allocations: 86.67 kB / 1.139 GB, free: 18.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.846e-05/1.216, allocations: 51.42 kB / 1.139 GB, free: 18.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006792/1.223, allocations: 2.209 MB / 1.141 GB, free: 17.86 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.02686/1.25, allocations: 12.68 MB / 1.153 GB, free: 9.207 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005543/1.256, allocations: 1.733 MB / 1.155 GB, free: 8.375 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/1.267, allocations: 4.407 MB / 1.159 GB, free: 4.523 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002898/1.27, allocations: 1.274 MB / 1.16 GB, free: 3.828 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003032/1.273, allocations: 230.2 kB / 1.161 GB, free: 3.676 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 6.652e-06/1.273, allocations: 0 / 1.161 GB, free: 3.676 MB / 0.698 GB Notification: Performance of matching and sorting (n=87): time 0.008151/1.281, allocations: 2.612 MB / 1.163 GB, free: 2.434 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.77e-05/1.281, allocations: 115.2 kB / 1.163 GB, free: 2.309 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01624/1.297, allocations: 7.123 MB / 1.17 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0008034/1.298, allocations: 53.7 kB / 1.17 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003061/1.301, allocations: 2.136 MB / 1.172 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008112/1.302, allocations: 311.5 kB / 1.173 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003324/1.302, allocations: 40 kB / 1.173 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00024/1.303, allocations: 381.9 kB / 1.173 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002929/1.305, allocations: 1.058 MB / 1.174 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003612/1.309, allocations: 2.027 MB / 1.176 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003018/1.312, allocations: 1.234 MB / 1.177 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.721e-05/1.312, allocations: 12 kB / 1.177 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00901/1.321, allocations: 3.374 MB / 1.181 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.005978/1.327, allocations: 13.35 MB / 1.194 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.729e-05/1.327, allocations: 30.62 kB / 1.194 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.767e-05/1.327, allocations: 43.95 kB / 1.194 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004302/1.332, allocations: 0.6279 MB / 1.194 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003271/1.335, allocations: 2.992 MB / 1.197 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005145/1.34, allocations: 222.4 kB / 1.198 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000742/1.341, allocations: 195.9 kB / 1.198 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/1.341, allocations: 8 kB / 1.198 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007769/1.349, allocations: 3.323 MB / 1.201 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/1.349, allocations: 28 kB / 1.201 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.04e-05/1.349, allocations: 44 kB / 1.201 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/1.352, allocations: 0.632 MB / 1.202 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.546e-05/1.352, allocations: 59.75 kB / 1.202 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004743/1.357, allocations: 213 kB / 1.202 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005501/1.357, allocations: 190 kB / 1.202 GB, free: 10.45 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.003663/1.361, allocations: 1.168 MB / 1.203 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001928/1.363, allocations: 426.4 kB / 1.204 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008538/1.372, allocations: 2.625 MB / 1.206 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.109e-05/1.372, allocations: 19.98 kB / 1.206 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/1.372, allocations: 3.953 kB / 1.206 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/1.372, allocations: 7.969 kB / 1.206 GB, free: 6.195 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.01982/1.392, allocations: 5.426 MB / 1.212 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-05/1.392, allocations: 4 kB / 1.212 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/1.394, allocations: 303.7 kB / 1.212 GB, free: 416 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000529/1.394, allocations: 149.6 kB / 1.212 GB, free: 260 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002407/1.394, allocations: 47.91 kB / 1.212 GB, free: 212 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/1.397, allocations: 2.667 MB / 1.215 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.397, allocations: 0 / 1.215 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007074/1.404, allocations: 2.464 MB / 1.217 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003173/1.407, allocations: 0.7487 MB / 1.218 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002087/1.409, allocations: 27.95 kB / 1.218 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003969/1.413, allocations: 202.4 kB / 1.218 GB, free: 9.949 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002549/1.413, allocations: 84.88 kB / 1.218 GB, free: 9.867 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002736/1.414, allocations: 79.94 kB / 1.218 GB, free: 9.789 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01049/1.424, allocations: 5.108 MB / 1.223 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.91e-07/1.424, allocations: 3.938 kB / 1.223 GB, free: 4.699 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01165/1.436, allocations: 1.789 MB / 1.225 GB, free: 2.906 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.01166/1.448, allocations: 4.096 MB / 1.229 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01378/1.462, allocations: 4.384 MB / 1.233 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-05/1.462, allocations: 0 / 1.233 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003927/1.466, allocations: 0.9624 MB / 1.234 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0123/1.478, allocations: 2.185 MB / 1.236 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03911/1.517, allocations: 30.22 MB / 1.266 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00528/1.522, allocations: 2.693 MB / 1.268 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.008524/1.531, allocations: 1.196 MB / 1.27 GB, free: 4.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004579/1.536, allocations: 1.94 MB / 1.271 GB, free: 2.578 MB / 0.8073 GB Notification: Performance of SimCode: time 3.516e-06/1.536, allocations: 0 / 1.271 GB, free: 2.578 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2491/1.785, allocations: 129.4 MB / 1.398 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003543/1.785, allocations: 243.7 kB / 1.398 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.764/8.549, allocations: 64 / 1.398 GB, free: 1.785 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_MoverStages_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_MoverStages.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)