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.001276/0.001276, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001396/0.001396, allocations: 213.6 kB / 23.03 MB, free: 4.922 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002532/0.002532, allocations: 291.8 kB / 313.5 MB, free: 2.613 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.198/1.198, allocations: 180.6 MB / 0.5377 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="cs",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.002805/0.002805, allocations: 90.67 kB / 0.7402 GB, free: 28.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1693, allocations: 95.4 MB / 0.8334 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6487/0.8179, allocations: 262.6 MB / 1.09 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02391/0.8419, allocations: 15.86 MB / 1.105 GB, free: 6.57 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003366/0.8452, allocations: 106.8 kB / 1.105 GB, free: 6.57 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00467/0.8499, allocations: 1.789 MB / 1.107 GB, free: 5.648 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0161/0.866, allocations: 6.743 MB / 1.114 GB, free: 1.047 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.008228/0.8742, allocations: 3.019 MB / 1.117 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01131/0.8855, allocations: 7.868 MB / 1.124 GB, free: 8.664 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003745/0.8893, allocations: 1.951 MB / 1.126 GB, free: 6.652 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006067/0.8953, allocations: 2.924 MB / 1.129 GB, free: 3.719 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006052/0.9014, allocations: 2.869 MB / 1.132 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000961/0.9024, allocations: 328 kB / 1.132 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01212/0.9145, allocations: 5.118 MB / 1.137 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002215/0.9167, allocations: 1.367 MB / 1.139 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003017/0.9197, allocations: 1.591 MB / 1.14 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.933, allocations: 6.729 MB / 1.147 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.933, allocations: 0 / 1.147 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.933, allocations: 0 / 1.147 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001018/0.9331, allocations: 0 / 1.147 GB, free: 1.68 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.01102/0.9441, allocations: 4.159 MB / 1.151 GB, free: 13.46 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.9442, allocations: 9.938 kB / 1.151 GB, free: 13.45 MB / 0.795 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.187e-05/0.9443, allocations: 76.81 kB / 1.151 GB, free: 13.38 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005486/0.9448, allocations: 371 kB / 1.151 GB, free: 13.01 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006684/0.9515, allocations: 0.9307 MB / 1.152 GB, free: 12.07 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00438/0.9559, allocations: 1.838 MB / 1.154 GB, free: 10.19 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.9561, allocations: 197.1 kB / 1.154 GB, free: 9.996 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006583/0.9567, allocations: 252 kB / 1.154 GB, free: 9.75 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006592/0.9633, allocations: 3.74 MB / 1.158 GB, free: 5.809 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.456e-05/0.9634, allocations: 11.89 kB / 1.158 GB, free: 5.797 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002869/0.9637, allocations: 112 kB / 1.158 GB, free: 5.688 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/0.9638, allocations: 133.1 kB / 1.158 GB, free: 5.555 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006705/0.9705, allocations: 3.502 MB / 1.162 GB, free: 2.039 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.01643/0.987, allocations: 8.182 MB / 1.17 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006358/0.9933, allocations: 2.944 MB / 1.173 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003766/0.9971, allocations: 1.693 MB / 1.174 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.9982, allocations: 218 kB / 1.174 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.558e-05/0.9983, allocations: 64.75 kB / 1.174 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=278): time 5.51e-06/0.9983, allocations: 0 / 1.174 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=278): time 0.009576/1.008, allocations: 3.902 MB / 1.178 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/1.008, allocations: 81.58 kB / 1.178 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/1.011, allocations: 1.38 MB / 1.18 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004549/1.011, allocations: 69.7 kB / 1.18 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009375/1.012, allocations: 1.01 MB / 1.181 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001296/1.013, allocations: 0.9914 MB / 1.182 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/1.014, allocations: 405 kB / 1.182 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.015, allocations: 301.1 kB / 1.182 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002337/1.017, allocations: 1.094 MB / 1.183 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002604/1.02, allocations: 1.362 MB / 1.185 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005337/1.025, allocations: 2.65 MB / 1.187 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/1.025, allocations: 4 kB / 1.187 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006953/1.032, allocations: 2.983 MB / 1.19 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.05e-05/1.032, allocations: 9.875 kB / 1.19 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.032, allocations: 4 kB / 1.19 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-05/1.032, allocations: 15.94 kB / 1.19 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/1.034, allocations: 0.5114 MB / 1.191 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.409e-05/1.034, allocations: 23.98 kB / 1.191 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/1.037, allocations: 190.5 kB / 1.191 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/1.037, allocations: 83.98 kB / 1.191 GB, free: 3.43 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.001237/1.038, allocations: 0.6461 MB / 1.192 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005702/1.038, allocations: 242.5 kB / 1.192 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005487/1.044, allocations: 3.118 MB / 1.195 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/1.044, allocations: 28 kB / 1.195 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/1.044, allocations: 0 / 1.195 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004179/1.048, allocations: 2.649 MB / 1.198 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/1.058, allocations: 5.741 MB / 1.203 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/1.058, allocations: 0 / 1.203 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002665/1.061, allocations: 0.5423 MB / 1.204 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.969e-05/1.061, allocations: 8 kB / 1.204 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001813/1.061, allocations: 59.98 kB / 1.204 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.575e-05/1.061, allocations: 12 kB / 1.204 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/1.061, allocations: 0 / 1.204 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007283/1.069, allocations: 4.582 MB / 1.208 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/1.07, allocations: 0.5484 MB / 1.209 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000399/1.07, allocations: 48.81 kB / 1.209 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/1.072, allocations: 61.03 kB / 1.209 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003608/1.072, allocations: 173.8 kB / 1.209 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/1.073, allocations: 79.97 kB / 1.209 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001387/1.074, allocations: 0.95 MB / 1.21 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.074, allocations: 4 kB / 1.21 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002189/1.076, allocations: 0.9867 MB / 1.211 GB, free: 14.65 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.008016/1.084, allocations: 5.396 MB / 1.216 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004508/1.089, allocations: 2.615 MB / 1.219 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.089, allocations: 4.125 kB / 1.219 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002207/1.091, allocations: 1.398 MB / 1.22 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005817/1.097, allocations: 1.348 MB / 1.222 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03075/1.127, allocations: 19.53 MB / 1.241 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00152/1.129, allocations: 1.345 MB / 1.242 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002883/1.132, allocations: 0.8358 MB / 1.243 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001802/1.134, allocations: 1.089 MB / 1.244 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of SimCode: time 1.403e-06/1.134, allocations: 0 / 1.244 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1232/1.257, allocations: 74.41 MB / 1.317 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.86/17.11, allocations: 11.28 kB / 1.317 GB, free: 3.34 MB / 0.9512 GB " [Timeout remaining time 643] (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.439460311084986] Failed to read output from testmodel.py, exit status != 0: 17.322832225007005 17.347286077 16.41070889 Calling exit ...