Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007735/0.0007735, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008782/0.0008782, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.2 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.455/2.455, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005609/0.0005612, allocations: 11.98 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7999/0.8004, allocations: 142.3 MB / 0.9538 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.1027/0.9032, allocations: 87.62 MB / 1.039 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04197/0.9452, allocations: 28.7 MB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008395/0.9537, allocations: 127.2 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006432/0.9602, allocations: 1.378 MB / 1.069 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01229/0.9725, allocations: 3.675 MB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008269/0.9808, allocations: 2.906 MB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0167/0.9975, allocations: 10.25 MB / 1.085 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006616/1.004, allocations: 2.625 MB / 1.088 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008651/1.013, allocations: 3.12 MB / 1.091 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005577/1.018, allocations: 2.747 MB / 1.094 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001246/1.02, allocations: 164 kB / 1.094 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006006/1.026, allocations: 1.875 MB / 1.096 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002524/1.028, allocations: 1.421 MB / 1.097 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002431/1.031, allocations: 0.9912 MB / 1.098 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008922/1.04, allocations: 6.172 MB / 1.104 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/1.04, allocations: 4 kB / 1.104 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.844e-06/1.04, allocations: 3.938 kB / 1.104 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002052/1.04, allocations: 0 / 1.104 GB, free: 5.953 MB / 0.8575 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.01074/1.051, allocations: 5.394 MB / 1.109 GB, free: 484 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.051, allocations: 16.02 kB / 1.109 GB, free: 468 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000849/1.052, allocations: 295.1 kB / 1.11 GB, free: 164 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008506/1.06, allocations: 1.683 MB / 1.111 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01693/1.077, allocations: 6.999 MB / 1.118 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007698/1.078, allocations: 324.8 kB / 1.118 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009254/1.079, allocations: 232 kB / 1.119 GB, free: 6.848 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006402/1.085, allocations: 3.219 MB / 1.122 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/1.085, allocations: 0 / 1.122 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002288/1.086, allocations: 91.89 kB / 1.122 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.186e-05/1.086, allocations: 52 kB / 1.122 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006498/1.092, allocations: 2.611 MB / 1.124 GB, free: 0.7461 MB / 0.8731 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.02735/1.12, allocations: 13.4 MB / 1.138 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005845/1.126, allocations: 2.138 MB / 1.14 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002393/1.128, allocations: 0.9527 MB / 1.141 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01303/1.141, allocations: 4.823 MB / 1.145 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003486/1.145, allocations: 1.539 MB / 1.147 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003093/1.148, allocations: 206 kB / 1.147 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=87): time 1.079e-05/1.148, allocations: 4 kB / 1.147 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of matching and sorting (n=87): time 0.008952/1.157, allocations: 3.118 MB / 1.15 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/1.157, allocations: 111.8 kB / 1.15 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01286/1.17, allocations: 7.211 MB / 1.157 GB, free: 14.29 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0006683/1.17, allocations: 57.7 kB / 1.157 GB, free: 14.23 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002394/1.173, allocations: 2.125 MB / 1.159 GB, free: 12.09 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006555/1.174, allocations: 307.7 kB / 1.16 GB, free: 11.78 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/1.174, allocations: 32 kB / 1.16 GB, free: 11.75 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001874/1.174, allocations: 389.8 kB / 1.16 GB, free: 11.36 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002709/1.177, allocations: 1.234 MB / 1.161 GB, free: 10.12 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003371/1.18, allocations: 2.216 MB / 1.163 GB, free: 7.445 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00288/1.183, allocations: 1.415 MB / 1.165 GB, free: 6.027 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.877e-05/1.183, allocations: 8 kB / 1.165 GB, free: 6.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.008233/1.191, allocations: 3.731 MB / 1.168 GB, free: 2.277 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006938/1.192, allocations: 0.9266 MB / 1.169 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.761e-05/1.192, allocations: 31.98 kB / 1.169 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.358e-05/1.192, allocations: 44 kB / 1.169 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003689/1.196, allocations: 0.6436 MB / 1.17 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/1.199, allocations: 2.996 MB / 1.173 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004327/1.203, allocations: 279 kB / 1.173 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006184/1.204, allocations: 183.9 kB / 1.173 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/1.204, allocations: 4 kB / 1.173 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006758/1.21, allocations: 3.661 MB / 1.177 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-05/1.211, allocations: 28 kB / 1.177 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.666e-05/1.211, allocations: 44 kB / 1.177 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002953/1.214, allocations: 0.6635 MB / 1.178 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.883e-05/1.214, allocations: 59.73 kB / 1.178 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003806/1.217, allocations: 261.1 kB / 1.178 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004402/1.218, allocations: 180 kB / 1.178 GB, free: 7.805 MB / 0.9356 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.002882/1.221, allocations: 1.168 MB / 1.179 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/1.222, allocations: 430.4 kB / 1.18 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007261/1.229, allocations: 2.925 MB / 1.183 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/1.229, allocations: 16 kB / 1.183 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.229, allocations: 0 / 1.183 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/1.229, allocations: 11.92 kB / 1.183 GB, free: 3.234 MB / 0.9356 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.01289/1.242, allocations: 5.754 MB / 1.188 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/1.242, allocations: 4 kB / 1.188 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/1.244, allocations: 343.6 kB / 1.188 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003817/1.244, allocations: 145.6 kB / 1.189 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/1.245, allocations: 43.94 kB / 1.189 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/1.246, allocations: 2.671 MB / 1.191 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.246, allocations: 4.031 kB / 1.191 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006312/1.253, allocations: 2.68 MB / 1.194 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002229/1.255, allocations: 0.7566 MB / 1.195 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008986/1.256, allocations: 20 kB / 1.195 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002442/1.258, allocations: 243.6 kB / 1.195 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/1.259, allocations: 76.89 kB / 1.195 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/1.259, allocations: 67.94 kB / 1.195 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.008274/1.267, allocations: 5.163 MB / 1.2 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7.51e-07/1.267, allocations: 0 / 1.2 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.007724/1.275, allocations: 1.789 MB / 1.202 GB, free: 15.27 MB / 0.9669 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.00896/1.284, allocations: 4.053 MB / 1.206 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01181/1.296, allocations: 4.9 MB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.296, allocations: 0 / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003086/1.299, allocations: 1.143 MB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01051/1.309, allocations: 2.211 MB / 1.214 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08974/1.399, allocations: 40.85 MB / 1.254 GB, free: 7.543 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002794/1.402, allocations: 2.613 MB / 1.256 GB, free: 4.902 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.006689/1.409, allocations: 1.169 MB / 1.257 GB, free: 3.727 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00382/1.413, allocations: 1.928 MB / 1.259 GB, free: 1.797 MB / 1.014 GB Notification: Performance of SimCode: time 2.124e-06/1.413, allocations: 0 / 1.259 GB, free: 1.797 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7613/2.174, allocations: 132.2 MB / 1.388 GB, free: 178.6 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/2.174, allocations: 240.2 kB / 1.389 GB, free: 178.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.834/8.008, allocations: 4 kB / 1.389 GB, free: 178.2 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Examples_MoverStages_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Examples_MoverStages.fmu > Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages_res.mat does not exist to compare? outputFormat=mat