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.0007981/0.0007981, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004614/0.004614, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.156/1.156, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001591/0.001591, allocations: 281.7 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 14.17/14.17, allocations: 169.5 MB / 0.5004 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004592, allocations: 14.42 kB / 0.5988 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2231, allocations: 88.55 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.9356/1.159, allocations: 288.9 MB / 0.9674 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02755/1.186, allocations: 17.05 MB / 0.984 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004428/1.191, allocations: 71.56 kB / 0.9841 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005473/1.196, allocations: 1.652 MB / 0.9857 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01726/1.214, allocations: 6.071 MB / 0.9916 GB, free: 5.66 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007521/1.221, allocations: 2.669 MB / 0.9942 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01391/1.235, allocations: 11.2 MB / 1.005 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003928/1.239, allocations: 2.13 MB / 1.007 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005105/1.244, allocations: 2.346 MB / 1.01 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00618/1.25, allocations: 2.726 MB / 1.012 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000846/1.251, allocations: 156 kB / 1.012 GB, free: 356 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01306/1.264, allocations: 7.157 MB / 1.019 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001959/1.266, allocations: 1.157 MB / 1.02 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004013/1.27, allocations: 1.705 MB / 1.022 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01609/1.286, allocations: 7.08 MB / 1.029 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.286, allocations: 0 / 1.029 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.124e-06/1.286, allocations: 0 / 1.029 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.53e-05/1.286, allocations: 0 / 1.029 GB, free: 15.19 MB / 0.7481 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.00903/1.296, allocations: 3.551 MB / 1.033 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.296, allocations: 12.03 kB / 1.033 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006011/1.296, allocations: 378.9 kB / 1.033 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005713/1.302, allocations: 0.9172 MB / 1.034 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/1.305, allocations: 1.831 MB / 1.036 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/1.305, allocations: 197.1 kB / 1.036 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003524/1.305, allocations: 259.9 kB / 1.036 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004769/1.31, allocations: 3.334 MB / 1.039 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.281e-05/1.31, allocations: 15.84 kB / 1.039 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00023/1.31, allocations: 111.9 kB / 1.039 GB, free: 4.363 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/1.31, allocations: 137 kB / 1.04 GB, free: 4.227 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005147/1.316, allocations: 3.498 MB / 1.043 GB, free: 0.7148 MB / 0.7481 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.3291/1.645, allocations: 12.09 MB / 1.055 GB, free: 269.4 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004711/1.649, allocations: 3.511 MB / 1.058 GB, free: 267.6 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002559/1.652, allocations: 1.806 MB / 1.06 GB, free: 267 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/1.653, allocations: 1.5 MB / 1.061 GB, free: 265.4 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/1.653, allocations: 63.7 kB / 1.061 GB, free: 265.3 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=278): time 5.33e-06/1.653, allocations: 2.375 kB / 1.061 GB, free: 265.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=278): time 0.006601/1.66, allocations: 3.884 MB / 1.065 GB, free: 263.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/1.66, allocations: 83.83 kB / 1.065 GB, free: 263.7 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/1.662, allocations: 1.381 MB / 1.067 GB, free: 263.2 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001811/1.662, allocations: 73.45 kB / 1.067 GB, free: 263.1 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000623/1.663, allocations: 0.9892 MB / 1.068 GB, free: 262.4 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008115/1.664, allocations: 0.9411 MB / 1.069 GB, free: 261.7 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/1.664, allocations: 198.5 kB / 1.069 GB, free: 261.6 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 5.306e-05/1.664, allocations: 305.9 kB / 1.069 GB, free: 261.3 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/1.666, allocations: 1.095 MB / 1.07 GB, free: 260.9 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/1.667, allocations: 1.361 MB / 1.072 GB, free: 260.3 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004201/1.672, allocations: 2.645 MB / 1.074 GB, free: 259 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/1.672, allocations: 2 kB / 1.074 GB, free: 259 MB / 0.7481 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004941/1.677, allocations: 2.981 MB / 1.077 GB, free: 257.8 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/1.677, allocations: 6.562 kB / 1.077 GB, free: 257.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/1.677, allocations: 4.344 kB / 1.077 GB, free: 257.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.561e-05/1.677, allocations: 15.06 kB / 1.077 GB, free: 257.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002221/1.679, allocations: 0.5098 MB / 1.078 GB, free: 257.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.668e-05/1.679, allocations: 19.19 kB / 1.078 GB, free: 257.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003139/1.682, allocations: 382.1 kB / 1.078 GB, free: 257.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/1.682, allocations: 83.98 kB / 1.078 GB, free: 257.6 MB / 0.7481 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.001434/1.684, allocations: 0.64 MB / 1.079 GB, free: 257.2 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000601/1.684, allocations: 234.3 kB / 1.079 GB, free: 257.1 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005212/1.69, allocations: 3.12 MB / 1.082 GB, free: 255.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.523e-05/1.69, allocations: 27.22 kB / 1.082 GB, free: 255.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.69, allocations: 0 / 1.082 GB, free: 255.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003281/1.693, allocations: 2.664 MB / 1.085 GB, free: 254.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009496/1.703, allocations: 6.206 MB / 1.091 GB, free: 250.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/1.703, allocations: 0 / 1.091 GB, free: 250.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002431/1.705, allocations: 0.547 MB / 1.091 GB, free: 250.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.068e-05/1.705, allocations: 15.72 kB / 1.091 GB, free: 250.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001823/1.705, allocations: 58.17 kB / 1.091 GB, free: 250.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.59e-05/1.705, allocations: 15.64 kB / 1.091 GB, free: 250.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.705, allocations: 0 / 1.091 GB, free: 250.4 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006555/1.712, allocations: 4.566 MB / 1.096 GB, free: 248 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.713, allocations: 0.6102 MB / 1.096 GB, free: 247.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003303/1.714, allocations: 52.69 kB / 1.096 GB, free: 247.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002187/1.716, allocations: 221.5 kB / 1.097 GB, free: 247.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003211/1.716, allocations: 170.3 kB / 1.097 GB, free: 247.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/1.716, allocations: 82.75 kB / 1.097 GB, free: 247.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001256/1.718, allocations: 0.9448 MB / 1.098 GB, free: 246.8 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/1.718, allocations: 0 / 1.098 GB, free: 246.8 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002253/1.72, allocations: 0.9833 MB / 1.099 GB, free: 245.9 MB / 0.7481 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.005975/1.726, allocations: 5.398 MB / 1.104 GB, free: 240.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003594/1.73, allocations: 2.766 MB / 1.107 GB, free: 237.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.73, allocations: 1.469 kB / 1.107 GB, free: 237.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/1.731, allocations: 1.504 MB / 1.108 GB, free: 236.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005906/1.737, allocations: 1.286 MB / 1.109 GB, free: 235 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02802/1.765, allocations: 22.68 MB / 1.131 GB, free: 211.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/1.766, allocations: 1.899 MB / 1.133 GB, free: 209.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002947/1.769, allocations: 0.8436 MB / 1.134 GB, free: 208.4 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/1.771, allocations: 1.085 MB / 1.135 GB, free: 207.3 MB / 0.7481 GB Notification: Performance of SimCode: time 7.02e-07/1.771, allocations: 3.938 kB / 1.135 GB, free: 207.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08671/1.857, allocations: 64.78 MB / 1.199 GB, free: 143.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/1.858, allocations: 221.4 kB / 1.199 GB, free: 143.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.59/5.447, allocations: 0 / 1.199 GB, free: 143.1 MB / 0.7481 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)