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.001123/0.001123, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.268/1.268, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 291.1 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9337/0.9337, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 97.72 kB / 0.5953 GB, free: 27.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1247, allocations: 86.97 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5071/0.6318, allocations: 295.1 MB / 0.9685 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02255/0.6544, allocations: 17.01 MB / 0.9851 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/0.6571, allocations: 79.62 kB / 0.9851 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004329/0.6615, allocations: 1.9 MB / 0.987 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01365/0.6751, allocations: 6.437 MB / 0.9933 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006492/0.6816, allocations: 2.928 MB / 0.9961 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00812/0.6898, allocations: 7.698 MB / 1.004 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003416/0.6932, allocations: 2.597 MB / 1.006 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004222/0.6974, allocations: 2.756 MB / 1.009 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004481/0.7019, allocations: 2.707 MB / 1.012 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008729/0.7028, allocations: 328 kB / 1.012 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01188/0.7147, allocations: 6.165 MB / 1.018 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001778/0.7165, allocations: 1.34 MB / 1.019 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00327/0.7198, allocations: 1.883 MB / 1.021 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.7309, allocations: 6.841 MB / 1.028 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.7309, allocations: 0 / 1.028 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7309, allocations: 0 / 1.028 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001226/0.731, allocations: 0 / 1.028 GB, free: 3.098 MB / 0.7325 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.01001/0.741, allocations: 4.132 MB / 1.032 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.7411, allocations: 8.031 kB / 1.032 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004271/0.7415, allocations: 379.5 kB / 1.032 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006067/0.7476, allocations: 0.9094 MB / 1.033 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002887/0.7505, allocations: 1.842 MB / 1.035 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.7506, allocations: 197.1 kB / 1.035 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003571/0.751, allocations: 256 kB / 1.035 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004949/0.756, allocations: 3.334 MB / 1.038 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.283e-05/0.756, allocations: 11.84 kB / 1.038 GB, free: 7.805 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/0.7563, allocations: 111.9 kB / 1.039 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/0.7564, allocations: 141 kB / 1.039 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005509/0.762, allocations: 3.49 MB / 1.042 GB, free: 4.051 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.01355/0.7755, allocations: 12.23 MB / 1.054 GB, free: 6.922 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004435/0.78, allocations: 3.514 MB / 1.058 GB, free: 3.332 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002657/0.7826, allocations: 1.822 MB / 1.059 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2449/1.028, allocations: 1.482 MB / 1.061 GB, free: 293 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.247e-05/1.028, allocations: 63.34 kB / 1.061 GB, free: 292.9 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=278): time 4.969e-06/1.028, allocations: 2.25 kB / 1.061 GB, free: 292.9 MB / 0.7637 GB Notification: Performance of matching and sorting (n=278): time 0.006921/1.035, allocations: 3.883 MB / 1.065 GB, free: 292.4 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/1.035, allocations: 86.33 kB / 1.065 GB, free: 292.3 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/1.036, allocations: 1.38 MB / 1.066 GB, free: 291.8 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001477/1.037, allocations: 76.83 kB / 1.066 GB, free: 291.7 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004762/1.037, allocations: 0.9834 MB / 1.067 GB, free: 291.2 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005429/1.038, allocations: 0.9485 MB / 1.068 GB, free: 290.4 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000581/1.038, allocations: 402.9 kB / 1.068 GB, free: 290.2 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.509e-05/1.038, allocations: 308.2 kB / 1.069 GB, free: 289.9 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/1.04, allocations: 1.095 MB / 1.07 GB, free: 289.5 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/1.041, allocations: 1.36 MB / 1.071 GB, free: 288.9 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003289/1.045, allocations: 2.643 MB / 1.074 GB, free: 287.7 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/1.045, allocations: 0 / 1.074 GB, free: 287.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004274/1.049, allocations: 2.983 MB / 1.077 GB, free: 286.5 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.049, allocations: 6.438 kB / 1.077 GB, free: 286.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.049, allocations: 2.844 kB / 1.077 GB, free: 286.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/1.049, allocations: 17.55 kB / 1.077 GB, free: 286.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/1.051, allocations: 0.51 MB / 1.077 GB, free: 286.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.65e-05/1.051, allocations: 16.69 kB / 1.077 GB, free: 286.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/1.053, allocations: 184.9 kB / 1.077 GB, free: 286.3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/1.053, allocations: 84.09 kB / 1.077 GB, free: 286.2 MB / 0.7637 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.0009536/1.054, allocations: 0.6483 MB / 1.078 GB, free: 285.9 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003537/1.055, allocations: 230.5 kB / 1.078 GB, free: 285.7 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004695/1.059, allocations: 3.11 MB / 1.081 GB, free: 284.4 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.42e-05/1.059, allocations: 29.33 kB / 1.081 GB, free: 284.4 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.059, allocations: 3.938 kB / 1.081 GB, free: 284.4 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004084/1.064, allocations: 2.655 MB / 1.084 GB, free: 283.3 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008409/1.072, allocations: 6.217 MB / 1.09 GB, free: 280.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/1.072, allocations: 0.625 kB / 1.09 GB, free: 280.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002461/1.074, allocations: 0.5426 MB / 1.09 GB, free: 280.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/1.075, allocations: 9.25 kB / 1.09 GB, free: 280.7 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/1.075, allocations: 66.94 kB / 1.091 GB, free: 280.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/1.075, allocations: 7.938 kB / 1.091 GB, free: 280.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.075, allocations: 1.719 kB / 1.091 GB, free: 280.6 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005691/1.08, allocations: 4.569 MB / 1.095 GB, free: 278.7 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008793/1.081, allocations: 0.6085 MB / 1.096 GB, free: 278.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002975/1.082, allocations: 51.09 kB / 1.096 GB, free: 278.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/1.083, allocations: 72.23 kB / 1.096 GB, free: 278.2 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00028/1.083, allocations: 170.3 kB / 1.096 GB, free: 278.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/1.084, allocations: 82.61 kB / 1.096 GB, free: 278.2 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009922/1.085, allocations: 0.943 MB / 1.097 GB, free: 277.8 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.8e-07/1.085, allocations: 0 / 1.097 GB, free: 277.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001632/1.086, allocations: 0.9773 MB / 1.098 GB, free: 277.7 MB / 0.7637 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.005911/1.092, allocations: 5.399 MB / 1.103 GB, free: 275 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00997/1.102, allocations: 5.528 MB / 1.109 GB, free: 271.3 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.102, allocations: 0 / 1.109 GB, free: 271.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/1.104, allocations: 1.511 MB / 1.11 GB, free: 269.8 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005086/1.109, allocations: 1.364 MB / 1.111 GB, free: 268.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/1.131, allocations: 21.3 MB / 1.132 GB, free: 246.3 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009772/1.132, allocations: 1.903 MB / 1.134 GB, free: 244.4 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002657/1.134, allocations: 0.8384 MB / 1.135 GB, free: 243.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/1.136, allocations: 1.093 MB / 1.136 GB, free: 242.5 MB / 0.7637 GB Notification: Performance of SimCode: time 5.31e-07/1.136, allocations: 0 / 1.136 GB, free: 242.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1551/1.291, allocations: 67.72 MB / 1.202 GB, free: 175.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.942/11.23, allocations: 9.797 kB / 1.202 GB, free: 175.6 MB / 0.7637 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)