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.00134/0.00134, allocations: 113 kB / 18.94 MB, free: 2.934 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.001491/0.001491, allocations: 209.5 kB / 22.25 MB, free: 5.086 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.417/1.417, allocations: 230.6 MB / 256 MB, free: 8.012 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.00254/0.00254, allocations: 293.1 kB / 312.7 MB, free: 2.816 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.214/1.214, allocations: 180.6 MB / 0.5369 GB, free: 13.1 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.00282/0.00282, allocations: 95.2 kB / 0.7396 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1946, allocations: 95.39 MB / 0.8327 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.85/1.045, allocations: 300.6 MB / 1.126 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.03176/1.076, allocations: 17.09 MB / 1.143 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005254/1.082, allocations: 107.2 kB / 1.143 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006644/1.088, allocations: 1.993 MB / 1.145 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0221/1.11, allocations: 6.776 MB / 1.152 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01057/1.121, allocations: 3.055 MB / 1.155 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01328/1.134, allocations: 7.862 MB / 1.162 GB, free: 9.309 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004103/1.138, allocations: 1.963 MB / 1.164 GB, free: 7.289 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007078/1.145, allocations: 2.893 MB / 1.167 GB, free: 4.387 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006837/1.152, allocations: 2.873 MB / 1.17 GB, free: 1.52 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001359/1.154, allocations: 324 kB / 1.17 GB, free: 1.203 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01586/1.169, allocations: 6.663 MB / 1.177 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003168/1.173, allocations: 1.375 MB / 1.178 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.004949/1.178, allocations: 1.886 MB / 1.18 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01784/1.195, allocations: 6.919 MB / 1.187 GB, free: 316 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/1.195, allocations: 0 / 1.187 GB, free: 316 kB / 0.8106 GB Notification: Performance of FrontEnd: time 3.036e-06/1.195, allocations: 0 / 1.187 GB, free: 316 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001719/1.196, allocations: 0 / 1.187 GB, free: 316 kB / 0.8106 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.0126/1.208, allocations: 4.155 MB / 1.191 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/1.208, allocations: 13.34 kB / 1.191 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005595/1.209, allocations: 371 kB / 1.191 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006363/1.215, allocations: 0.9384 MB / 1.192 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005527/1.221, allocations: 1.83 MB / 1.194 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/1.221, allocations: 201.1 kB / 1.194 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005519/1.221, allocations: 263.9 kB / 1.194 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006493/1.228, allocations: 3.327 MB / 1.197 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-05/1.228, allocations: 3.984 kB / 1.197 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002603/1.228, allocations: 111.9 kB / 1.198 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/1.228, allocations: 133.1 kB / 1.198 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006256/1.235, allocations: 3.502 MB / 1.201 GB, free: 1.242 MB / 0.8262 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.01922/1.254, allocations: 12.07 MB / 1.213 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004842/1.259, allocations: 2.946 MB / 1.216 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002925/1.262, allocations: 1.701 MB / 1.217 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/1.263, allocations: 226 kB / 1.218 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.349e-05/1.263, allocations: 68.69 kB / 1.218 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=278): time 3.948e-06/1.263, allocations: 0 / 1.218 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=278): time 0.007251/1.27, allocations: 3.886 MB / 1.221 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/1.27, allocations: 89.52 kB / 1.222 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/1.272, allocations: 1.38 MB / 1.223 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002579/1.273, allocations: 73.7 kB / 1.223 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008591/1.273, allocations: 1.01 MB / 1.224 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001081/1.274, allocations: 0.9913 MB / 1.225 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006395/1.275, allocations: 408.9 kB / 1.225 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.275, allocations: 305.1 kB / 1.226 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/1.277, allocations: 1.09 MB / 1.227 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/1.279, allocations: 1.359 MB / 1.228 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004164/1.283, allocations: 2.654 MB / 1.231 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/1.283, allocations: 0 / 1.231 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005338/1.289, allocations: 2.991 MB / 1.234 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/1.289, allocations: 6.031 kB / 1.234 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/1.289, allocations: 8 kB / 1.234 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.409e-05/1.289, allocations: 12 kB / 1.234 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/1.291, allocations: 0.511 MB / 1.234 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.726e-05/1.291, allocations: 23.92 kB / 1.234 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/1.293, allocations: 190.5 kB / 1.234 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/1.293, allocations: 88.08 kB / 1.234 GB, free: 13.96 MB / 0.8731 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.00133/1.295, allocations: 0.6384 MB / 1.235 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006875/1.295, allocations: 246.5 kB / 1.235 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005907/1.301, allocations: 3.112 MB / 1.238 GB, free: 9.902 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.29e-05/1.301, allocations: 28 kB / 1.238 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/1.301, allocations: 3.938 kB / 1.238 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004239/1.306, allocations: 2.649 MB / 1.241 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/1.317, allocations: 6.201 MB / 1.247 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/1.317, allocations: 5 kB / 1.247 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002546/1.32, allocations: 0.5423 MB / 1.247 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.356e-05/1.32, allocations: 8 kB / 1.247 GB, free: 308 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/1.32, allocations: 63.98 kB / 1.248 GB, free: 244 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.585e-05/1.32, allocations: 12 kB / 1.248 GB, free: 232 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/1.32, allocations: 0 / 1.248 GB, free: 232 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007332/1.327, allocations: 4.578 MB / 1.252 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001812/1.329, allocations: 0.5415 MB / 1.253 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004727/1.33, allocations: 48 kB / 1.253 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/1.331, allocations: 78.3 kB / 1.253 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004073/1.332, allocations: 177.8 kB / 1.253 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/1.332, allocations: 83.97 kB / 1.253 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001476/1.333, allocations: 0.9384 MB / 1.254 GB, free: 9.711 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8e-08/1.333, allocations: 0 / 1.254 GB, free: 9.711 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002491/1.336, allocations: 0.9867 MB / 1.255 GB, free: 8.723 MB / 0.8887 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.00825/1.344, allocations: 5.408 MB / 1.26 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004654/1.349, allocations: 2.614 MB / 1.263 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/1.349, allocations: 9.062 kB / 1.263 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002279/1.351, allocations: 1.394 MB / 1.264 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006382/1.357, allocations: 1.346 MB / 1.265 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03535/1.393, allocations: 19.54 MB / 1.284 GB, free: 9.953 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/1.395, allocations: 1.895 MB / 1.286 GB, free: 8.023 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.003068/1.398, allocations: 0.8436 MB / 1.287 GB, free: 7.176 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/1.399, allocations: 1.097 MB / 1.288 GB, free: 6.078 MB / 0.92 GB Notification: Performance of SimCode: time 1.673e-06/1.4, allocations: 0 / 1.288 GB, free: 6.078 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1395/1.539, allocations: 70.55 MB / 1.357 GB, free: 240 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.61/17.15, allocations: 11.94 kB / 1.357 GB, free: 228 kB / 0.9825 GB " [Timeout remaining time 642] (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: 21.939354680001998] Failed to read output from testmodel.py, exit status != 0: 17.69794727200133 17.71277081 16.513460748 Calling exit ...