Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.179/2.179, allocations: 292.3 MB / 308.1 MB, free: 4.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001426/0.001426, allocations: 186 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.1 MB / 0.6354 GB, free: 9.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009453/0.0009454, allocations: 106.4 kB / 0.748 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 63.89 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2254, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.5834/0.8089, allocations: 199.7 MB / 1.177 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.8193, allocations: 7.427 MB / 1.184 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.8207, allocations: 30.53 kB / 1.185 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.8223, allocations: 0.6067 MB / 1.185 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004609/0.827, allocations: 2.226 MB / 1.187 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.8296, allocations: 1.142 MB / 1.188 GB, free: 13.84 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004164/0.8338, allocations: 4.159 MB / 1.192 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.8349, allocations: 0.8038 MB / 1.193 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.8362, allocations: 0.886 MB / 1.194 GB, free: 11.74 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.8381, allocations: 0.9986 MB / 1.195 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.8383, allocations: 58.38 kB / 1.195 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004608/0.8429, allocations: 2.492 MB / 1.198 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003895/0.8433, allocations: 402.8 kB / 1.198 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006605/0.844, allocations: 0.6053 MB / 1.199 GB, free: 9.941 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003499/0.8475, allocations: 2.499 MB / 1.201 GB, free: 9.09 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.8475, allocations: 0 / 1.201 GB, free: 9.09 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.21e-07/0.8475, allocations: 0.9688 kB / 1.201 GB, free: 9.09 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.8475, allocations: 0 / 1.201 GB, free: 9.09 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003226/0.8508, allocations: 1.625 MB / 1.203 GB, free: 8.062 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.8508, allocations: 8.719 kB / 1.203 GB, free: 8.062 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002338/0.8532, allocations: 368.5 kB / 1.203 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.8545, allocations: 0.804 MB / 1.204 GB, free: 7.461 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.8546, allocations: 77.75 kB / 1.204 GB, free: 7.422 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.8547, allocations: 97.19 kB / 1.204 GB, free: 7.383 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.8564, allocations: 1.03 MB / 1.205 GB, free: 6.934 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.8564, allocations: 1.281 kB / 1.205 GB, free: 6.934 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-05/0.8565, allocations: 41.39 kB / 1.205 GB, free: 6.902 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.765e-05/0.8566, allocations: 47.81 kB / 1.205 GB, free: 6.895 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.8581, allocations: 0.8787 MB / 1.206 GB, free: 6.59 MB / 0.7917 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.004656/0.8628, allocations: 4.266 MB / 1.21 GB, free: 3.332 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.8639, allocations: 0.6951 MB / 1.211 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007525/0.8647, allocations: 451.5 kB / 1.211 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006197/0.8653, allocations: 0.6772 MB / 1.212 GB, free: 2.117 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.8653, allocations: 43.59 kB / 1.212 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=70): time 2.545e-06/0.8653, allocations: 0 / 1.212 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of matching and sorting (n=70): time 0.00193/0.8673, allocations: 0.9865 MB / 1.213 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.8673, allocations: 58.56 kB / 1.213 GB, free: 1.605 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007983/0.8681, allocations: 0.6286 MB / 1.213 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.689e-05/0.8682, allocations: 41.39 kB / 1.213 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.8685, allocations: 435.5 kB / 1.214 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.8688, allocations: 246.2 kB / 1.214 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.869, allocations: 120.4 kB / 1.214 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.8692, allocations: 388.8 kB / 1.215 GB, free: 356 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004888/0.8697, allocations: 278.2 kB / 1.215 GB, free: 252 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006047/0.8703, allocations: 367.1 kB / 1.215 GB, free: 56 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.8714, allocations: 0.6577 MB / 1.216 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8714, allocations: 1.375 kB / 1.216 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001335/0.8727, allocations: 0.7921 MB / 1.217 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.8728, allocations: 5.156 kB / 1.217 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.8728, allocations: 3.156 kB / 1.217 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.8728, allocations: 8.406 kB / 1.217 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006705/0.8735, allocations: 139.4 kB / 1.217 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.8735, allocations: 6.047 kB / 1.217 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.8745, allocations: 106.5 kB / 1.217 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.8746, allocations: 24.28 kB / 1.217 GB, free: 15.32 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.000413/0.875, allocations: 290.6 kB / 1.217 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.8752, allocations: 84.16 kB / 1.217 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.8766, allocations: 0.7921 MB / 1.218 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.8767, allocations: 6.953 kB / 1.218 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.8767, allocations: 1.156 kB / 1.218 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001138/0.8778, allocations: 0.816 MB / 1.219 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/0.8809, allocations: 1.845 MB / 1.221 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.881, allocations: 5.5 kB / 1.221 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000847/0.8818, allocations: 169.3 kB / 1.221 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.8818, allocations: 2.062 kB / 1.221 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.97e-05/0.8819, allocations: 20.19 kB / 1.221 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-05/0.8819, allocations: 6.25 kB / 1.221 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8819, allocations: 0.6562 kB / 1.221 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/0.8955, allocations: 6.975 MB / 1.228 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004658/0.896, allocations: 250.5 kB / 1.228 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.772e-05/0.8962, allocations: 16.5 kB / 1.228 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007601/0.8969, allocations: 75.41 kB / 1.228 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.8971, allocations: 41.83 kB / 1.228 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.109e-05/0.8971, allocations: 22.19 kB / 1.228 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0006927/0.8978, allocations: 451.7 kB / 1.228 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8979, allocations: 0 / 1.228 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001932/0.8998, allocations: 0.5164 MB / 1.229 GB, free: 9.051 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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 (70): * Single equations (assignments): 70 * 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.0004169/0.9002, allocations: 224 kB / 1.229 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.9014, allocations: 0.675 MB / 1.23 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.9014, allocations: 1.781 kB / 1.23 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0006359/0.9021, allocations: 371.5 kB / 1.23 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/0.9048, allocations: 0.5244 MB / 1.231 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004791/0.9096, allocations: 2.966 MB / 1.234 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009148/0.9105, allocations: 1.106 MB / 1.235 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001244/0.9117, allocations: 248.5 kB / 1.235 GB, free: 5.695 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/0.9121, allocations: 78.38 kB / 1.235 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of SimCode: time 6.72e-07/0.9121, allocations: 0 / 1.235 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of Templates: time 0.03186/0.9439, allocations: 20.88 MB / 1.255 GB, free: 11.25 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)