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.001291/0.001291, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001487/0.001487, allocations: 216.2 kB / 23.04 MB, free: 5.074 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.002521/0.002521, allocations: 278.3 kB / 313.5 MB, free: 2.805 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.187/1.187, allocations: 180.6 MB / 0.5377 GB, free: 12.95 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.002773/0.002773, allocations: 104.3 kB / 0.7404 GB, free: 28.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1842, allocations: 95.38 MB / 0.8335 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7166/0.9008, allocations: 300.6 MB / 1.127 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02844/0.9292, allocations: 17.09 MB / 1.144 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004121/0.9333, allocations: 111.1 kB / 1.144 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.005887/0.9392, allocations: 1.993 MB / 1.146 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01849/0.9577, allocations: 6.77 MB / 1.152 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.008609/0.9663, allocations: 3.052 MB / 1.155 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01241/0.9787, allocations: 7.865 MB / 1.163 GB, free: 9.293 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004178/0.9829, allocations: 1.963 MB / 1.165 GB, free: 7.273 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006279/0.9892, allocations: 2.885 MB / 1.168 GB, free: 4.379 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006395/0.9956, allocations: 2.882 MB / 1.171 GB, free: 1.504 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001249/0.9968, allocations: 328 kB / 1.171 GB, free: 1.184 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01434/1.011, allocations: 6.651 MB / 1.177 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002497/1.014, allocations: 1.383 MB / 1.179 GB, free: 9.129 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00424/1.018, allocations: 1.879 MB / 1.181 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01583/1.034, allocations: 6.916 MB / 1.187 GB, free: 312 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/1.034, allocations: 0 / 1.187 GB, free: 312 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.663e-06/1.034, allocations: 0 / 1.187 GB, free: 312 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001806/1.034, allocations: 0 / 1.187 GB, free: 312 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.01342/1.047, allocations: 4.169 MB / 1.191 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/1.047, allocations: 13.28 kB / 1.191 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.455e-05/1.047, allocations: 69.12 kB / 1.192 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001025/1.049, allocations: 374.9 kB / 1.192 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007275/1.056, allocations: 0.9307 MB / 1.193 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005457/1.061, allocations: 1.83 MB / 1.195 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002554/1.061, allocations: 201 kB / 1.195 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/1.063, allocations: 255.9 kB / 1.195 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0085/1.071, allocations: 3.334 MB / 1.198 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/1.071, allocations: 3.938 kB / 1.198 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005007/1.072, allocations: 111.9 kB / 1.198 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001769/1.072, allocations: 137 kB / 1.198 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007382/1.079, allocations: 3.506 MB / 1.202 GB, free: 1.156 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.01953/1.099, allocations: 12.07 MB / 1.214 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00495/1.104, allocations: 2.943 MB / 1.217 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002968/1.107, allocations: 1.705 MB / 1.218 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009355/1.108, allocations: 226 kB / 1.218 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.425e-05/1.108, allocations: 72.69 kB / 1.219 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=278): time 3.977e-06/1.108, allocations: 0 / 1.219 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=278): time 0.007081/1.115, allocations: 3.886 MB / 1.222 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/1.115, allocations: 85.53 kB / 1.222 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/1.117, allocations: 1.38 MB / 1.224 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002052/1.117, allocations: 73.7 kB / 1.224 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007943/1.118, allocations: 1.006 MB / 1.225 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009908/1.119, allocations: 0.9914 MB / 1.226 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006693/1.12, allocations: 408.9 kB / 1.226 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.12, allocations: 301.1 kB / 1.226 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/1.122, allocations: 1.094 MB / 1.228 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/1.124, allocations: 1.362 MB / 1.229 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004291/1.128, allocations: 2.654 MB / 1.231 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/1.128, allocations: 4 kB / 1.231 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005237/1.133, allocations: 2.979 MB / 1.234 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/1.133, allocations: 4.562 kB / 1.234 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/1.133, allocations: 11.94 kB / 1.234 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/1.133, allocations: 16 kB / 1.234 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/1.136, allocations: 0.511 MB / 1.235 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.415e-05/1.136, allocations: 23.92 kB / 1.235 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/1.138, allocations: 190.5 kB / 1.235 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/1.138, allocations: 80 kB / 1.235 GB, free: 13.88 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.001288/1.139, allocations: 0.6462 MB / 1.236 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005574/1.14, allocations: 242.5 kB / 1.236 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005574/1.145, allocations: 3.113 MB / 1.239 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-05/1.145, allocations: 32.81 kB / 1.239 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.145, allocations: 0 / 1.239 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00424/1.15, allocations: 2.653 MB / 1.242 GB, free: 7.062 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/1.161, allocations: 6.193 MB / 1.248 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/1.161, allocations: 0 / 1.248 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002576/1.164, allocations: 0.5423 MB / 1.248 GB, free: 236 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.5e-05/1.164, allocations: 13.12 kB / 1.248 GB, free: 224 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001804/1.164, allocations: 59.98 kB / 1.248 GB, free: 164 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.39e-05/1.164, allocations: 11.94 kB / 1.248 GB, free: 152 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.164, allocations: 4 kB / 1.248 GB, free: 148 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007347/1.171, allocations: 4.584 MB / 1.253 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/1.173, allocations: 0.5484 MB / 1.253 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003402/1.173, allocations: 48 kB / 1.253 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/1.175, allocations: 73.75 kB / 1.253 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003398/1.175, allocations: 173.8 kB / 1.254 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/1.175, allocations: 75.98 kB / 1.254 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001401/1.177, allocations: 0.9501 MB / 1.255 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of sort global known variables: time 7e-08/1.177, allocations: 0 / 1.255 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002127/1.179, allocations: 0.9867 MB / 1.256 GB, free: 8.633 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.007933/1.187, allocations: 5.403 MB / 1.261 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00452/1.191, allocations: 2.622 MB / 1.263 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/1.191, allocations: 0 / 1.263 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00218/1.193, allocations: 1.394 MB / 1.265 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005972/1.199, allocations: 1.357 MB / 1.266 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03074/1.23, allocations: 19.53 MB / 1.285 GB, free: 9.871 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/1.232, allocations: 1.903 MB / 1.287 GB, free: 7.934 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002724/1.234, allocations: 0.8358 MB / 1.288 GB, free: 7.094 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/1.236, allocations: 1.093 MB / 1.289 GB, free: 6 MB / 0.92 GB Notification: Performance of SimCode: time 1.523e-06/1.236, allocations: 0 / 1.289 GB, free: 6 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/1.364, allocations: 70.58 MB / 1.358 GB, free: 140 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.22/17.59, allocations: 11.19 kB / 1.358 GB, free: 136 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: 22.309918725979514] Failed to read output from testmodel.py, exit status != 0: 18.172046795021743 18.187183847 17.149418878 Calling exit ...