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.001369/0.001369, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001658/0.001658, allocations: 220.8 kB / 22.26 MB, free: 5.125 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.992 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.002671/0.002671, allocations: 282.7 kB / 312.7 MB, free: 2.809 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.201/1.201, allocations: 180.6 MB / 0.5369 GB, free: 13.04 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.002773/0.002773, allocations: 105.2 kB / 0.7396 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1812, allocations: 95.39 MB / 0.8327 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7672/0.9485, allocations: 300.6 MB / 1.126 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.03067/0.9792, allocations: 17.09 MB / 1.143 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005113/0.9843, allocations: 107.2 kB / 1.143 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006884/0.9912, allocations: 1.989 MB / 1.145 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0218/1.013, allocations: 6.778 MB / 1.152 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.009513/1.022, allocations: 3.053 MB / 1.155 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01248/1.035, allocations: 7.864 MB / 1.162 GB, free: 9.359 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004666/1.04, allocations: 1.967 MB / 1.164 GB, free: 7.336 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006949/1.047, allocations: 2.897 MB / 1.167 GB, free: 4.43 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006389/1.053, allocations: 2.865 MB / 1.17 GB, free: 1.57 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001311/1.054, allocations: 324 kB / 1.17 GB, free: 1.254 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01527/1.07, allocations: 6.663 MB / 1.177 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.00268/1.072, allocations: 1.387 MB / 1.178 GB, free: 9.184 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.005366/1.078, allocations: 1.879 MB / 1.18 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01872/1.096, allocations: 6.916 MB / 1.187 GB, free: 368 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.096, allocations: 0 / 1.187 GB, free: 368 kB / 0.8106 GB Notification: Performance of FrontEnd: time 2.204e-06/1.096, allocations: 0 / 1.187 GB, free: 368 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.000202/1.097, allocations: 0 / 1.187 GB, free: 368 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.01206/1.109, allocations: 4.163 MB / 1.191 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/1.109, allocations: 13.34 kB / 1.191 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000526/1.109, allocations: 371 kB / 1.191 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006161/1.115, allocations: 0.9345 MB / 1.192 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004215/1.12, allocations: 1.83 MB / 1.194 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/1.12, allocations: 197.1 kB / 1.194 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004618/1.12, allocations: 263.9 kB / 1.194 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005948/1.126, allocations: 3.334 MB / 1.197 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.684e-05/1.126, allocations: 3.938 kB / 1.197 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/1.126, allocations: 107.9 kB / 1.198 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/1.127, allocations: 137 kB / 1.198 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006006/1.133, allocations: 3.494 MB / 1.201 GB, free: 1.293 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.01752/1.15, allocations: 12.07 MB / 1.213 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004714/1.155, allocations: 2.949 MB / 1.216 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002837/1.158, allocations: 1.701 MB / 1.217 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009628/1.159, allocations: 226 kB / 1.218 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.37e-05/1.159, allocations: 68.75 kB / 1.218 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=278): time 4.258e-06/1.159, allocations: 0 / 1.218 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=278): time 0.006909/1.166, allocations: 3.894 MB / 1.221 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/1.166, allocations: 85.53 kB / 1.222 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/1.168, allocations: 1.376 MB / 1.223 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002305/1.168, allocations: 73.7 kB / 1.223 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008389/1.169, allocations: 1.01 MB / 1.224 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009953/1.17, allocations: 0.9914 MB / 1.225 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006302/1.171, allocations: 405 kB / 1.225 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.171, allocations: 305.1 kB / 1.226 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/1.173, allocations: 1.094 MB / 1.227 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/1.175, allocations: 1.363 MB / 1.228 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004173/1.179, allocations: 2.646 MB / 1.231 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/1.179, allocations: 11.94 kB / 1.231 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005327/1.184, allocations: 2.979 MB / 1.234 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/1.184, allocations: 6.75 kB / 1.234 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/1.184, allocations: 12 kB / 1.234 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.342e-05/1.184, allocations: 12 kB / 1.234 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/1.186, allocations: 0.511 MB / 1.234 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.306e-05/1.187, allocations: 23.88 kB / 1.234 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/1.189, allocations: 191.7 kB / 1.234 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/1.189, allocations: 83.98 kB / 1.234 GB, free: 14.01 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.001311/1.19, allocations: 0.6462 MB / 1.235 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005076/1.191, allocations: 242.5 kB / 1.235 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005374/1.196, allocations: 3.111 MB / 1.238 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/1.196, allocations: 28 kB / 1.238 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.196, allocations: 3.938 kB / 1.238 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004106/1.2, allocations: 2.657 MB / 1.241 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/1.211, allocations: 6.197 MB / 1.247 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/1.211, allocations: 3.938 kB / 1.247 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002547/1.213, allocations: 0.5423 MB / 1.247 GB, free: 360 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.985e-05/1.213, allocations: 8 kB / 1.247 GB, free: 352 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/1.213, allocations: 59.98 kB / 1.248 GB, free: 292 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-05/1.214, allocations: 15.98 kB / 1.248 GB, free: 276 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.214, allocations: 7.938 kB / 1.248 GB, free: 268 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007299/1.221, allocations: 4.578 MB / 1.252 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/1.223, allocations: 0.5406 MB / 1.253 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/1.223, allocations: 51.98 kB / 1.253 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/1.225, allocations: 66.38 kB / 1.253 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003247/1.225, allocations: 173.8 kB / 1.253 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/1.225, allocations: 83.97 kB / 1.253 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001398/1.226, allocations: 0.9462 MB / 1.254 GB, free: 9.746 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8e-08/1.226, allocations: 0 / 1.254 GB, free: 9.746 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002154/1.229, allocations: 0.9867 MB / 1.255 GB, free: 8.758 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.008085/1.237, allocations: 5.406 MB / 1.26 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004576/1.241, allocations: 2.614 MB / 1.263 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.241, allocations: 4 kB / 1.263 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002184/1.243, allocations: 1.394 MB / 1.264 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005827/1.249, allocations: 1.343 MB / 1.265 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03251/1.282, allocations: 19.54 MB / 1.284 GB, free: 10 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/1.283, allocations: 1.903 MB / 1.286 GB, free: 8.066 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002702/1.286, allocations: 0.8358 MB / 1.287 GB, free: 7.227 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001704/1.288, allocations: 1.101 MB / 1.288 GB, free: 6.125 MB / 0.92 GB Notification: Performance of SimCode: time 1.353e-06/1.288, allocations: 0 / 1.288 GB, free: 6.125 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1434/1.431, allocations: 70.55 MB / 1.357 GB, free: 284 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.78/17.21, allocations: 4 kB / 1.357 GB, free: 280 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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.87080354290083] Failed to read output from testmodel.py, exit status != 0: 17.754493603948504 17.769577422 16.669403248 Calling exit ...