Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") translateModel(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 108 kB / 15.6 MB, free: 132 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.001886/0.001886, allocations: 190.3 kB / 16.53 MB, free: 6.391 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.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002221/0.002221, allocations: 294.9 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 1.068/1.068, allocations: 169.2 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 96.16 kB / 0.5952 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2413, allocations: 86.98 MB / 0.6802 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.8909/1.132, allocations: 202 MB / 0.8774 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01466/1.147, allocations: 7.378 MB / 0.8846 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003161/1.15, allocations: 40.91 kB / 0.8846 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002586/1.153, allocations: 0.6943 MB / 0.8853 GB, free: 248 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009261/1.162, allocations: 2.403 MB / 0.8877 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004815/1.167, allocations: 1.235 MB / 0.8889 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00597/1.173, allocations: 2.911 MB / 0.8917 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/1.175, allocations: 0.9432 MB / 0.8926 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003306/1.179, allocations: 1.009 MB / 0.8936 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003812/1.182, allocations: 0.9791 MB / 0.8946 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007326/1.183, allocations: 109.7 kB / 0.8947 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007125/1.19, allocations: 2.131 MB / 0.8968 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001239/1.192, allocations: 447 kB / 0.8972 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002539/1.194, allocations: 0.6665 MB / 0.8978 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008346/1.202, allocations: 2.386 MB / 0.9002 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.203, allocations: 4 kB / 0.9002 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.655e-06/1.203, allocations: 0 / 0.9002 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.699e-05/1.203, allocations: 0 / 0.9002 GB, free: 6.125 MB / 0.6075 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.005612/1.208, allocations: 1.628 MB / 0.9018 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/1.208, allocations: 12.03 kB / 0.9018 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002991/1.211, allocations: 370.2 kB / 0.9021 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/1.213, allocations: 0.8085 MB / 0.9029 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.647e-05/1.213, allocations: 69.94 kB / 0.903 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/1.214, allocations: 87.94 kB / 0.9031 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/1.216, allocations: 1.045 MB / 0.9041 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/1.216, allocations: 2.062 kB / 0.9041 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.229e-05/1.216, allocations: 36 kB / 0.9041 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.285e-05/1.216, allocations: 41.98 kB / 0.9042 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/1.217, allocations: 0.8861 MB / 0.905 GB, free: 1.016 MB / 0.6075 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.005804/1.223, allocations: 4.331 MB / 0.9093 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/1.224, allocations: 0.6903 MB / 0.9099 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007985/1.225, allocations: 455.6 kB / 0.9104 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006955/1.226, allocations: 0.6771 MB / 0.911 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/1.226, allocations: 47.06 kB / 0.9111 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.555e-06/1.226, allocations: 0 / 0.9111 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001992/1.228, allocations: 0.9861 MB / 0.912 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/1.228, allocations: 59.97 kB / 0.9121 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009927/1.229, allocations: 0.6373 MB / 0.9127 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.114e-05/1.229, allocations: 41.7 kB / 0.9127 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/1.229, allocations: 428.1 kB / 0.9132 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000306/1.23, allocations: 252.3 kB / 0.9134 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/1.23, allocations: 118.2 kB / 0.9135 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001921/1.23, allocations: 390.7 kB / 0.9139 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/1.231, allocations: 277.2 kB / 0.9141 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/1.231, allocations: 365 kB / 0.9145 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/1.232, allocations: 0.6587 MB / 0.9151 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.232, allocations: 0 / 0.9151 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001465/1.234, allocations: 0.793 MB / 0.9159 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/1.234, allocations: 7.938 kB / 0.9159 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.234, allocations: 4.188 kB / 0.9159 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/1.234, allocations: 8 kB / 0.9159 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007096/1.235, allocations: 139.8 kB / 0.9161 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/1.235, allocations: 6.688 kB / 0.9161 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008917/1.235, allocations: 55.42 kB / 0.9161 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/1.235, allocations: 24 kB / 0.9161 GB, free: 4.992 MB / 0.6231 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.0006504/1.236, allocations: 290.2 kB / 0.9164 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/1.236, allocations: 83.06 kB / 0.9165 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/1.238, allocations: 0.8007 MB / 0.9173 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/1.238, allocations: 8 kB / 0.9173 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/1.238, allocations: 0 / 0.9173 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001137/1.239, allocations: 0.8191 MB / 0.9181 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/1.242, allocations: 1.844 MB / 0.9199 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.242, allocations: 0 / 0.9199 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007912/1.243, allocations: 171.8 kB / 0.9201 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.101e-05/1.243, allocations: 11.88 kB / 0.9201 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/1.243, allocations: 15.98 kB / 0.9201 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.779e-06/1.243, allocations: 8 kB / 0.9201 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.243, allocations: 0 / 0.9201 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/1.245, allocations: 1.201 MB / 0.9213 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/1.245, allocations: 243.9 kB / 0.9215 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/1.245, allocations: 19.98 kB / 0.9215 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006039/1.246, allocations: 17.62 kB / 0.9215 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/1.246, allocations: 41.62 kB / 0.9216 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.706e-05/1.246, allocations: 31.98 kB / 0.9216 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006252/1.247, allocations: 451 kB / 0.922 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/1.247, allocations: 0 / 0.922 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001009/1.248, allocations: 339.2 kB / 0.9224 GB, free: 14.48 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.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 (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.0004201/1.248, allocations: 198.5 kB / 0.9225 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001634/1.25, allocations: 0.8201 MB / 0.9233 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.25, allocations: 0 / 0.9233 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005544/1.25, allocations: 375 kB / 0.9237 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/1.253, allocations: 0.55 MB / 0.9242 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/1.257, allocations: 2.171 MB / 0.9264 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007513/1.258, allocations: 1.089 MB / 0.9274 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001072/1.259, allocations: 231.2 kB / 0.9276 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/1.259, allocations: 71.44 kB / 0.9277 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of SimCode: time 8.92e-07/1.259, allocations: 0 / 0.9277 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of Templates: time 0.03366/1.293, allocations: 18.29 MB / 0.9456 GB, free: 6.938 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)