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.001985/0.001985, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.00232/0.00232, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.581/1.581, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002503/0.002503, allocations: 289.2 kB / 309.8 MB, free: 3.473 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.072/1.072, allocations: 180.6 MB / 0.5337 GB, free: 12.36 MB / 398.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.002973/0.002973, allocations: 103.9 kB / 0.7347 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5162/0.5191, allocations: 95.34 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3393/0.8585, allocations: 299.4 MB / 1.12 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02601/0.8845, allocations: 17.04 MB / 1.137 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003591/0.8881, allocations: 107.2 kB / 1.137 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005601/0.8937, allocations: 1.993 MB / 1.139 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01875/0.9124, allocations: 6.635 MB / 1.145 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00828/0.9207, allocations: 2.977 MB / 1.148 GB, free: 0.8672 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.491/1.412, allocations: 7.71 MB / 1.156 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004922/1.417, allocations: 2.161 MB / 1.158 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006975/1.424, allocations: 2.889 MB / 1.161 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006656/1.43, allocations: 2.861 MB / 1.164 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0009719/1.431, allocations: 327.1 kB / 1.164 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01224/1.443, allocations: 6.554 MB / 1.17 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002245/1.446, allocations: 1.371 MB / 1.172 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003918/1.45, allocations: 1.879 MB / 1.173 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01392/1.463, allocations: 6.918 MB / 1.18 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.463, allocations: 0 / 1.18 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.844e-06/1.464, allocations: 0.9062 kB / 1.18 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.541e-05/1.464, allocations: 0 / 1.18 GB, free: 8.445 MB / 0.8731 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.01105/1.475, allocations: 4.236 MB / 1.184 GB, free: 22.69 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/1.475, allocations: 8.469 kB / 1.184 GB, free: 22.69 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.486e-05/1.475, allocations: 70.22 kB / 1.184 GB, free: 22.68 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004495/1.475, allocations: 376 kB / 1.185 GB, free: 22.62 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006139/1.481, allocations: 0.9271 MB / 1.186 GB, free: 22.44 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003773/1.485, allocations: 1.934 MB / 1.188 GB, free: 21.91 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/1.485, allocations: 191.7 kB / 1.188 GB, free: 21.9 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004373/1.486, allocations: 263 kB / 1.188 GB, free: 21.9 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005375/1.491, allocations: 3.336 MB / 1.191 GB, free: 21.61 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.656e-05/1.491, allocations: 6.234 kB / 1.191 GB, free: 21.61 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002577/1.491, allocations: 108.3 kB / 1.191 GB, free: 21.61 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001195/1.491, allocations: 139.8 kB / 1.191 GB, free: 21.6 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00613/1.498, allocations: 3.498 MB / 1.195 GB, free: 21.57 MB / 0.8887 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.01696/1.515, allocations: 12.17 MB / 1.207 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004104/1.519, allocations: 3.315 MB / 1.21 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002506/1.521, allocations: 1.705 MB / 1.212 GB, free: 15 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001616/1.523, allocations: 1.498 MB / 1.213 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.819e-05/1.523, allocations: 72.83 kB / 1.213 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=278): time 4.438e-06/1.523, allocations: 0.7188 kB / 1.213 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of matching and sorting (n=278): time 0.006046/1.529, allocations: 3.891 MB / 1.217 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/1.529, allocations: 79 kB / 1.217 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/1.531, allocations: 1.382 MB / 1.218 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000203/1.531, allocations: 77.3 kB / 1.219 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005228/1.532, allocations: 1.002 MB / 1.219 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007017/1.532, allocations: 0.9899 MB / 1.22 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005882/1.533, allocations: 412.8 kB / 1.221 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.533, allocations: 302.1 kB / 1.221 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/1.534, allocations: 1.096 MB / 1.222 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/1.536, allocations: 1.356 MB / 1.224 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003418/1.54, allocations: 2.647 MB / 1.226 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/1.54, allocations: 2.5 kB / 1.226 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00444/1.544, allocations: 2.992 MB / 1.229 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/1.544, allocations: 7.969 kB / 1.229 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/1.544, allocations: 6.828 kB / 1.229 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/1.544, allocations: 14.62 kB / 1.229 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/1.546, allocations: 0.5105 MB / 1.23 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.721e-05/1.546, allocations: 16.41 kB / 1.23 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/1.548, allocations: 190.4 kB / 1.23 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/1.549, allocations: 84.86 kB / 1.23 GB, free: 10.67 MB / 0.8887 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.001281/1.55, allocations: 0.6455 MB / 1.23 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005482/1.55, allocations: 248.8 kB / 1.231 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004649/1.555, allocations: 3.112 MB / 1.234 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/1.555, allocations: 32.09 kB / 1.234 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.555, allocations: 0 / 1.234 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003515/1.559, allocations: 2.65 MB / 1.236 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00943/1.568, allocations: 6.22 MB / 1.242 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/1.568, allocations: 0 / 1.242 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002546/1.571, allocations: 0.5455 MB / 1.243 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.347e-05/1.571, allocations: 8.031 kB / 1.243 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/1.571, allocations: 61.2 kB / 1.243 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.279e-05/1.571, allocations: 11.78 kB / 1.243 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.571, allocations: 0 / 1.243 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006108/1.577, allocations: 4.588 MB / 1.248 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/1.578, allocations: 0.6147 MB / 1.248 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003185/1.579, allocations: 51.03 kB / 1.248 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/1.58, allocations: 66.31 kB / 1.248 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003034/1.581, allocations: 164.6 kB / 1.248 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/1.581, allocations: 81.06 kB / 1.248 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00117/1.582, allocations: 0.9494 MB / 1.249 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/1.582, allocations: 1.312 kB / 1.249 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002/1.584, allocations: 0.9905 MB / 1.25 GB, free: 8.574 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.006792/1.591, allocations: 5.402 MB / 1.256 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004075/1.595, allocations: 2.623 MB / 1.258 GB, free: 4.102 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.595, allocations: 0.9062 kB / 1.258 GB, free: 4.102 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001979/1.597, allocations: 1.393 MB / 1.26 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006/1.603, allocations: 1.351 MB / 1.261 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0306/1.633, allocations: 19.53 MB / 1.28 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/1.635, allocations: 1.899 MB / 1.282 GB, free: 15.55 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00292/1.638, allocations: 0.8435 MB / 1.283 GB, free: 14.7 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001735/1.64, allocations: 1.093 MB / 1.284 GB, free: 13.61 MB / 0.92 GB Notification: Performance of SimCode: time 8.52e-07/1.64, allocations: 0 / 1.284 GB, free: 13.61 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1193/1.759, allocations: 68.68 MB / 1.351 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.85, allocations: 14.97 kB / 1.351 GB, free: 9.871 MB / 0.9825 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 & /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 os._exit(0), Time elapsed: 19.111249637033325] Failed to read output from testmodel.py, exit status != 0: 15.019806792028248 15.041500644 13.573503854 Calling exit ...