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: translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001119, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001102/0.001102, allocations: 194 kB / 16.14 MB, free: 6.707 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.311/1.311, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002015/0.002015, allocations: 290.6 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9617/0.9617, allocations: 169.2 MB / 0.4977 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 94.22 kB / 0.5945 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1736, allocations: 86.99 MB / 0.6794 GB, free: 1.223 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6477/0.8214, allocations: 292.9 MB / 0.9655 GB, free: 2.832 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02452/0.846, allocations: 17.22 MB / 0.9823 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003538/0.8495, allocations: 71.56 kB / 0.9824 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.005052/0.8546, allocations: 1.656 MB / 0.984 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0152/0.8699, allocations: 6.072 MB / 0.9899 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007765/0.8776, allocations: 2.669 MB / 0.9926 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01246/0.8901, allocations: 11.19 MB / 1.003 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004335/0.8945, allocations: 2.215 MB / 1.006 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005627/0.9001, allocations: 2.405 MB / 1.008 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006079/0.9062, allocations: 2.82 MB / 1.011 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009952/0.9073, allocations: 184 kB / 1.011 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01421/0.9215, allocations: 7.185 MB / 1.018 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002384/0.9239, allocations: 1.204 MB / 1.019 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004208/0.9281, allocations: 1.726 MB / 1.021 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01466/0.9428, allocations: 7.171 MB / 1.028 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9429, allocations: 4 kB / 1.028 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9429, allocations: 0 / 1.028 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000161/0.943, allocations: 4 kB / 1.028 GB, free: 2.828 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.01226/0.9553, allocations: 4.121 MB / 1.032 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.9554, allocations: 8.031 kB / 1.032 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006863/0.9622, allocations: 0.921 MB / 1.033 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003721/0.966, allocations: 1.846 MB / 1.035 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.9662, allocations: 193.1 kB / 1.035 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005864/0.9668, allocations: 260 kB / 1.035 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006419/0.9732, allocations: 3.334 MB / 1.038 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.411e-05/0.9733, allocations: 7.844 kB / 1.038 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003028/0.9736, allocations: 111.9 kB / 1.038 GB, free: 7.805 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/0.9737, allocations: 141 kB / 1.038 GB, free: 7.664 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006451/0.9802, allocations: 3.502 MB / 1.042 GB, free: 4.148 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.01725/0.9975, allocations: 12.08 MB / 1.054 GB, free: 7.168 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005185/1.003, allocations: 3.512 MB / 1.057 GB, free: 3.582 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002847/1.006, allocations: 1.818 MB / 1.059 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3188/1.324, allocations: 1.487 MB / 1.06 GB, free: 293.5 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.866e-05/1.324, allocations: 68.19 kB / 1.06 GB, free: 293.4 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=278): time 4.92e-06/1.325, allocations: 0.875 kB / 1.06 GB, free: 293.4 MB / 0.7637 GB Notification: Performance of matching and sorting (n=278): time 0.007314/1.332, allocations: 3.884 MB / 1.064 GB, free: 292.9 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/1.332, allocations: 83.62 kB / 1.064 GB, free: 292.8 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002003/1.334, allocations: 1.379 MB / 1.066 GB, free: 292.3 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001709/1.334, allocations: 75.14 kB / 1.066 GB, free: 292.2 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005373/1.335, allocations: 0.9868 MB / 1.067 GB, free: 291.7 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006298/1.335, allocations: 0.9417 MB / 1.068 GB, free: 290.9 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006014/1.336, allocations: 415.2 kB / 1.068 GB, free: 290.8 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 5.6e-05/1.336, allocations: 304.8 kB / 1.068 GB, free: 290.5 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/1.338, allocations: 1.093 MB / 1.069 GB, free: 290.1 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/1.339, allocations: 1.357 MB / 1.071 GB, free: 289.4 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003347/1.343, allocations: 2.647 MB / 1.073 GB, free: 288.2 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-06/1.343, allocations: 2.188 kB / 1.073 GB, free: 288.2 MB / 0.7637 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004596/1.347, allocations: 2.977 MB / 1.076 GB, free: 287 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/1.347, allocations: 5.625 kB / 1.076 GB, free: 287 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.347, allocations: 6.672 kB / 1.076 GB, free: 287 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/1.347, allocations: 13.38 kB / 1.076 GB, free: 287 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/1.349, allocations: 0.517 MB / 1.077 GB, free: 286.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.904e-05/1.349, allocations: 15.06 kB / 1.077 GB, free: 286.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/1.352, allocations: 382.5 kB / 1.077 GB, free: 286.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/1.352, allocations: 82.41 kB / 1.077 GB, free: 286.7 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.001099/1.353, allocations: 0.6503 MB / 1.078 GB, free: 286.4 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003954/1.354, allocations: 230.5 kB / 1.078 GB, free: 286.2 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005059/1.359, allocations: 3.115 MB / 1.081 GB, free: 284.9 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.867e-05/1.359, allocations: 26.88 kB / 1.081 GB, free: 284.9 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.359, allocations: 0.75 kB / 1.081 GB, free: 284.9 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004193/1.363, allocations: 2.651 MB / 1.084 GB, free: 283.8 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009709/1.373, allocations: 6.219 MB / 1.09 GB, free: 281.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/1.373, allocations: 0 / 1.09 GB, free: 281.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/1.375, allocations: 0.5432 MB / 1.09 GB, free: 281.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.557e-05/1.375, allocations: 9.625 kB / 1.09 GB, free: 281.2 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/1.375, allocations: 57.81 kB / 1.09 GB, free: 281.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/1.375, allocations: 9.562 kB / 1.09 GB, free: 281.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.375, allocations: 0 / 1.09 GB, free: 281.1 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005914/1.381, allocations: 4.583 MB / 1.095 GB, free: 279.2 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/1.383, allocations: 0.6053 MB / 1.095 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003091/1.383, allocations: 51.91 kB / 1.095 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/1.385, allocations: 228.1 kB / 1.096 GB, free: 278.7 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003476/1.385, allocations: 173.5 kB / 1.096 GB, free: 278.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/1.385, allocations: 75.53 kB / 1.096 GB, free: 278.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001149/1.387, allocations: 0.9508 MB / 1.097 GB, free: 278.3 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/1.387, allocations: 0 / 1.097 GB, free: 278.3 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001982/1.389, allocations: 0.9765 MB / 1.098 GB, free: 278.1 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.0005884/1.389, allocations: 367.9 kB / 1.098 GB, free: 278 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003643/1.393, allocations: 2.764 MB / 1.101 GB, free: 276.9 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.393, allocations: 3.75 kB / 1.101 GB, free: 276.9 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/1.395, allocations: 1.512 MB / 1.102 GB, free: 276.3 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004819/1.399, allocations: 1.284 MB / 1.104 GB, free: 275.7 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007839/1.407, allocations: 7.23 MB / 1.111 GB, free: 269.5 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009972/1.408, allocations: 1.899 MB / 1.112 GB, free: 267.5 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003008/1.411, allocations: 0.8385 MB / 1.113 GB, free: 266.7 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007059/1.412, allocations: 207.4 kB / 1.114 GB, free: 266.5 MB / 0.7637 GB Notification: Performance of SimCode: time 1.113e-06/1.412, allocations: 4 kB / 1.114 GB, free: 266.5 MB / 0.7637 GB Notification: Performance of Templates: time 0.06418/1.476, allocations: 47.5 MB / 1.16 GB, free: 219.7 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)