Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 213.5 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00259/0.00259, allocations: 283.2 kB / 312.7 MB, free: 2.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.22/1.22, allocations: 180.6 MB / 0.5369 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002934/0.002934, allocations: 108 kB / 0.7395 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.157, allocations: 95.38 MB / 0.8326 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6849/0.842, allocations: 262.8 MB / 1.089 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02494/0.8669, allocations: 15.89 MB / 1.105 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0045/0.8714, allocations: 106.9 kB / 1.105 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005657/0.8771, allocations: 1.795 MB / 1.107 GB, free: 5.504 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01679/0.8939, allocations: 6.722 MB / 1.113 GB, free: 0.8555 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00823/0.9021, allocations: 3.018 MB / 1.116 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01075/0.9128, allocations: 7.812 MB / 1.124 GB, free: 8.445 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003494/0.9163, allocations: 1.947 MB / 1.126 GB, free: 6.438 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005733/0.9221, allocations: 2.909 MB / 1.129 GB, free: 3.52 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005802/0.9279, allocations: 2.741 MB / 1.131 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0008689/0.9287, allocations: 328 kB / 1.132 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01198/0.9407, allocations: 5.072 MB / 1.136 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002013/0.9427, allocations: 1.371 MB / 1.138 GB, free: 10 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00326/0.946, allocations: 1.587 MB / 1.139 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01479/0.9608, allocations: 6.725 MB / 1.146 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.9608, allocations: 3.938 kB / 1.146 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9608, allocations: 4 kB / 1.146 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.689e-05/0.9609, allocations: 0 / 1.146 GB, free: 1.648 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.009855/0.9707, allocations: 4.155 MB / 1.15 GB, free: 13.44 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.9708, allocations: 9.344 kB / 1.15 GB, free: 13.43 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004626/0.9713, allocations: 374.9 kB / 1.15 GB, free: 13.05 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005831/0.9771, allocations: 0.9307 MB / 1.151 GB, free: 12.12 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003673/0.9808, allocations: 1.834 MB / 1.153 GB, free: 10.24 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.9809, allocations: 201.1 kB / 1.153 GB, free: 10.04 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004107/0.9813, allocations: 260 kB / 1.154 GB, free: 9.789 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00578/0.9871, allocations: 3.732 MB / 1.157 GB, free: 5.855 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.784e-05/0.9872, allocations: 7.953 kB / 1.157 GB, free: 5.848 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000259/0.9874, allocations: 111.9 kB / 1.157 GB, free: 5.738 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001585/0.9876, allocations: 137 kB / 1.157 GB, free: 5.602 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006017/0.9936, allocations: 3.478 MB / 1.161 GB, free: 2.109 MB / 0.795 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.01445/1.008, allocations: 8.182 MB / 1.169 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004675/1.013, allocations: 2.938 MB / 1.172 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002894/1.016, allocations: 1.693 MB / 1.173 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009405/1.017, allocations: 222 kB / 1.174 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.859e-05/1.017, allocations: 64.73 kB / 1.174 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=278): time 5.641e-06/1.017, allocations: 4 kB / 1.174 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of matching and sorting (n=278): time 0.007328/1.024, allocations: 3.89 MB / 1.177 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/1.024, allocations: 85.53 kB / 1.177 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/1.026, allocations: 1.387 MB / 1.179 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/1.026, allocations: 73.7 kB / 1.179 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007799/1.027, allocations: 1.002 MB / 1.18 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000872/1.028, allocations: 0.9952 MB / 1.181 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006329/1.028, allocations: 409 kB / 1.181 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.029, allocations: 305.1 kB / 1.182 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/1.03, allocations: 1.094 MB / 1.183 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/1.033, allocations: 1.359 MB / 1.184 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004432/1.037, allocations: 2.642 MB / 1.187 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/1.037, allocations: 4 kB / 1.187 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005731/1.043, allocations: 2.986 MB / 1.189 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/1.043, allocations: 9.875 kB / 1.189 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/1.043, allocations: 4.562 kB / 1.189 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.398e-05/1.043, allocations: 16 kB / 1.189 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002341/1.045, allocations: 0.5148 MB / 1.19 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.722e-05/1.045, allocations: 16 kB / 1.19 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/1.047, allocations: 187.7 kB / 1.19 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/1.048, allocations: 83.98 kB / 1.19 GB, free: 3.504 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001403/1.049, allocations: 0.6462 MB / 1.191 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006436/1.05, allocations: 242.5 kB / 1.191 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005412/1.055, allocations: 3.112 MB / 1.194 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/1.055, allocations: 31.94 kB / 1.194 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/1.055, allocations: 3.938 kB / 1.194 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00421/1.059, allocations: 2.649 MB / 1.197 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/1.07, allocations: 5.741 MB / 1.202 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.07, allocations: 0 / 1.202 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002543/1.072, allocations: 0.5501 MB / 1.203 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.762e-05/1.072, allocations: 8 kB / 1.203 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/1.072, allocations: 59.98 kB / 1.203 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.18e-05/1.072, allocations: 8 kB / 1.203 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.072, allocations: 3.938 kB / 1.203 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007405/1.08, allocations: 4.582 MB / 1.207 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/1.081, allocations: 0.5446 MB / 1.208 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/1.082, allocations: 48 kB / 1.208 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/1.083, allocations: 66.61 kB / 1.208 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003259/1.084, allocations: 173.8 kB / 1.208 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/1.084, allocations: 83.91 kB / 1.208 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00138/1.085, allocations: 0.9462 MB / 1.209 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.085, allocations: 0 / 1.209 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001982/1.087, allocations: 0.9906 MB / 1.21 GB, free: 14.71 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008101/1.095, allocations: 5.407 MB / 1.216 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004576/1.1, allocations: 2.61 MB / 1.218 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.1, allocations: 0 / 1.218 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00234/1.102, allocations: 1.398 MB / 1.219 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005823/1.108, allocations: 1.355 MB / 1.221 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02923/1.137, allocations: 19.53 MB / 1.24 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/1.139, allocations: 1.333 MB / 1.241 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002786/1.141, allocations: 0.8435 MB / 1.242 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001657/1.143, allocations: 1.093 MB / 1.243 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of SimCode: time 9.42e-07/1.143, allocations: 0 / 1.243 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1318/1.275, allocations: 74.22 MB / 1.315 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/15.28, allocations: 11.94 kB / 1.316 GB, free: 3.598 MB / 0.9512 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.56250609178096] Failed to read output from testmodel.py, exit status != 0: 15.431087237782776 15.454894982999999 14.489429916 Calling exit ...