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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004906/0.004906, allocations: 99.83 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 193.7 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002365/0.002365, allocations: 293.5 kB / 290.8 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 6.744/6.744, allocations: 169.3 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002663/0.002663, allocations: 95.84 kB / 0.681 GB, free: 7.418 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6369/0.6396, allocations: 86.97 MB / 0.7659 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.049/1.689, allocations: 295.1 MB / 1.054 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03067/1.72, allocations: 17.02 MB / 1.071 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005422/1.725, allocations: 79.78 kB / 1.071 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006197/1.732, allocations: 1.888 MB / 1.073 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02075/1.752, allocations: 6.441 MB / 1.079 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01062/1.763, allocations: 2.938 MB / 1.082 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01376/1.777, allocations: 7.704 MB / 1.089 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005783/1.783, allocations: 2.609 MB / 1.092 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008342/1.791, allocations: 2.769 MB / 1.095 GB, free: 312 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007692/1.799, allocations: 2.705 MB / 1.097 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001758/1.8, allocations: 324 kB / 1.098 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01623/1.817, allocations: 6.164 MB / 1.104 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.003051/1.82, allocations: 1.335 MB / 1.105 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.006946/1.827, allocations: 1.876 MB / 1.107 GB, free: 5 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.02188/1.849, allocations: 6.908 MB / 1.113 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.849, allocations: 4 kB / 1.113 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.949e-06/1.849, allocations: 0 / 1.113 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.000212/1.849, allocations: 3.938 kB / 1.113 GB, free: 14.43 MB / 0.7637 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.0158/1.865, allocations: 4.228 MB / 1.118 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/1.865, allocations: 12.03 kB / 1.118 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001407/1.866, allocations: 376 kB / 1.118 GB, free: 9.77 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007575/1.874, allocations: 0.9331 MB / 1.119 GB, free: 8.84 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006005/1.88, allocations: 1.935 MB / 1.121 GB, free: 6.887 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002573/1.88, allocations: 193.1 kB / 1.121 GB, free: 6.695 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/1.881, allocations: 264.8 kB / 1.121 GB, free: 6.441 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008885/1.89, allocations: 3.328 MB / 1.124 GB, free: 3.02 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/1.89, allocations: 11.89 kB / 1.124 GB, free: 3.008 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006008/1.891, allocations: 110 kB / 1.125 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001834/1.891, allocations: 141 kB / 1.125 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007912/1.899, allocations: 3.494 MB / 1.128 GB, free: 15.25 MB / 0.7794 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.02373/1.923, allocations: 12.18 MB / 1.14 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006784/1.93, allocations: 3.502 MB / 1.143 GB, free: 14.74 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003787/1.933, allocations: 1.857 MB / 1.145 GB, free: 12.88 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001931/1.935, allocations: 1.489 MB / 1.147 GB, free: 11.08 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.875e-05/1.936, allocations: 68.69 kB / 1.147 GB, free: 11 MB / 0.795 GB Notification: Performance of pre-optimization done (n=278): time 7.123e-06/1.936, allocations: 0 / 1.147 GB, free: 11 MB / 0.795 GB Notification: Performance of matching and sorting (n=278): time 0.008996/1.945, allocations: 3.886 MB / 1.151 GB, free: 7.066 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/1.945, allocations: 85.59 kB / 1.151 GB, free: 6.969 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003417/1.948, allocations: 1.383 MB / 1.152 GB, free: 5.578 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004519/1.949, allocations: 77.7 kB / 1.152 GB, free: 5.496 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/1.95, allocations: 1.001 MB / 1.153 GB, free: 4.488 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001475/1.951, allocations: 0.9892 MB / 1.154 GB, free: 3.512 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001061/1.952, allocations: 408.9 kB / 1.154 GB, free: 3.105 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.952, allocations: 301.1 kB / 1.155 GB, free: 2.809 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002265/1.955, allocations: 1.102 MB / 1.156 GB, free: 1.703 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/1.957, allocations: 1.358 MB / 1.157 GB, free: 284 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005011/1.962, allocations: 2.65 MB / 1.16 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/1.962, allocations: 0 / 1.16 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006359/1.969, allocations: 2.979 MB / 1.163 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/1.969, allocations: 10.97 kB / 1.163 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/1.969, allocations: 7.938 kB / 1.163 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-05/1.969, allocations: 16 kB / 1.163 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/1.971, allocations: 0.5072 MB / 1.163 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.138e-05/1.971, allocations: 24.23 kB / 1.163 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/1.974, allocations: 198.5 kB / 1.163 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/1.974, allocations: 80 kB / 1.163 GB, free: 9.676 MB / 0.8106 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.001459/1.975, allocations: 0.6479 MB / 1.164 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000804/1.976, allocations: 238.5 kB / 1.164 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006044/1.982, allocations: 3.116 MB / 1.167 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.89e-05/1.982, allocations: 24 kB / 1.167 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/1.982, allocations: 4 kB / 1.167 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004474/1.987, allocations: 2.665 MB / 1.17 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/2, allocations: 6.208 MB / 1.176 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/2, allocations: 4 kB / 1.176 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002769/2.003, allocations: 0.5423 MB / 1.176 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-05/2.003, allocations: 8 kB / 1.176 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000258/2.003, allocations: 63.98 kB / 1.177 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.458e-05/2.003, allocations: 11.94 kB / 1.177 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/2.003, allocations: 0 / 1.177 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008256/2.011, allocations: 4.586 MB / 1.181 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/2.013, allocations: 0.6237 MB / 1.182 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/2.013, allocations: 48 kB / 1.182 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/2.015, allocations: 71.02 kB / 1.182 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003499/2.015, allocations: 162 kB / 1.182 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/2.015, allocations: 83.97 kB / 1.182 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001462/2.017, allocations: 0.9384 MB / 1.183 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/2.017, allocations: 0 / 1.183 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002616/2.019, allocations: 0.9906 MB / 1.184 GB, free: 4.387 MB / 0.8262 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.008618/2.028, allocations: 5.412 MB / 1.189 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004826/2.033, allocations: 2.771 MB / 1.192 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/2.033, allocations: 0 / 1.192 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00231/2.035, allocations: 1.508 MB / 1.193 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006258/2.042, allocations: 1.354 MB / 1.195 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03281/2.074, allocations: 19.52 MB / 1.214 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/2.076, allocations: 1.903 MB / 1.216 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002994/2.079, allocations: 0.8435 MB / 1.216 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00189/2.081, allocations: 1.093 MB / 1.217 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of SimCode: time 1.082e-06/2.081, allocations: 0 / 1.217 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1313/2.212, allocations: 68.27 MB / 1.284 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/15.36, allocations: 11.47 kB / 1.284 GB, free: 14.07 MB / 0.9356 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)