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.001383/0.001383, allocations: 108.8 kB / 16.41 MB, free: 6.508 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.001404/0.001404, allocations: 184 kB / 17.34 MB, free: 5.738 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002516/0.002516, allocations: 293.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.04/1.04, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00273/0.00273, allocations: 103.8 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6122/0.6149, allocations: 86.96 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.7289/1.344, allocations: 202.5 MB / 0.9648 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01007/1.354, allocations: 7.41 MB / 0.972 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/1.355, allocations: 36.38 kB / 0.972 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/1.357, allocations: 0.7366 MB / 0.9727 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005673/1.363, allocations: 2.48 MB / 0.9752 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003007/1.366, allocations: 1.25 MB / 0.9764 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003657/1.369, allocations: 2.91 MB / 0.9792 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/1.37, allocations: 0.7828 MB / 0.98 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/1.372, allocations: 1.048 MB / 0.981 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/1.374, allocations: 0.9717 MB / 0.982 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001766/1.374, allocations: 111.5 kB / 0.9821 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004513/1.379, allocations: 2.135 MB / 0.9842 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005297/1.379, allocations: 473.5 kB / 0.9846 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009096/1.38, allocations: 0.6623 MB / 0.9853 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00419/1.384, allocations: 2.415 MB / 0.9876 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/1.384, allocations: 0.75 kB / 0.9876 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/1.384, allocations: 1.203 kB / 0.9876 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.784e-05/1.384, allocations: 1.094 kB / 0.9876 GB, free: 1.402 MB / 0.7169 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.003272/1.388, allocations: 1.663 MB / 0.9892 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/1.388, allocations: 11.16 kB / 0.9892 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002562/1.39, allocations: 383.8 kB / 0.9896 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/1.392, allocations: 0.8543 MB / 0.9905 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/1.392, allocations: 65.62 kB / 0.9905 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/1.392, allocations: 86.73 kB / 0.9906 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/1.393, allocations: 1.044 MB / 0.9916 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.096e-05/1.393, allocations: 2.75 kB / 0.9916 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-05/1.393, allocations: 34.91 kB / 0.9917 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-05/1.393, allocations: 46.88 kB / 0.9917 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/1.395, allocations: 0.8775 MB / 0.9926 GB, free: 16 MB / 0.7325 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.005092/1.4, allocations: 4.312 MB / 0.9968 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/1.401, allocations: 0.6626 MB / 0.9974 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007215/1.402, allocations: 437.2 kB / 0.9978 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007294/1.402, allocations: 0.6724 MB / 0.9985 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/1.402, allocations: 42.38 kB / 0.9985 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.354e-06/1.402, allocations: 0 / 0.9985 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001829/1.404, allocations: 0.9945 MB / 0.9995 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/1.404, allocations: 61.31 kB / 0.9996 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007306/1.405, allocations: 0.6366 MB / 1 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-05/1.405, allocations: 38.23 kB / 1 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/1.405, allocations: 444.7 kB / 1.001 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/1.406, allocations: 261 kB / 1.001 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/1.406, allocations: 116.4 kB / 1.001 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002068/1.406, allocations: 390.2 kB / 1.001 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/1.406, allocations: 274.8 kB / 1.002 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/1.407, allocations: 363.7 kB / 1.002 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008971/1.408, allocations: 0.6676 MB / 1.003 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.408, allocations: 0.9688 kB / 1.003 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001244/1.409, allocations: 0.7925 MB / 1.003 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.409, allocations: 9.438 kB / 1.003 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/1.409, allocations: 4.047 kB / 1.003 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/1.409, allocations: 5.031 kB / 1.003 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006622/1.41, allocations: 147.3 kB / 1.004 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/1.41, allocations: 6.281 kB / 1.004 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008569/1.411, allocations: 60.03 kB / 1.004 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/1.411, allocations: 20.16 kB / 1.004 GB, free: 11.43 MB / 0.7325 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.0004677/1.411, allocations: 292.3 kB / 1.004 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/1.411, allocations: 91.36 kB / 1.004 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/1.413, allocations: 0.7954 MB / 1.005 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/1.413, allocations: 8.219 kB / 1.005 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.413, allocations: 0 / 1.005 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001023/1.414, allocations: 0.8152 MB / 1.006 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/1.416, allocations: 1.853 MB / 1.007 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.416, allocations: 0 / 1.007 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008519/1.417, allocations: 170 kB / 1.008 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/1.417, allocations: 2.562 kB / 1.008 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.177e-05/1.417, allocations: 19.67 kB / 1.008 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/1.417, allocations: 3.281 kB / 1.008 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.417, allocations: 5.141 kB / 1.008 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/1.419, allocations: 1.196 MB / 1.009 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/1.419, allocations: 248.3 kB / 1.009 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/1.419, allocations: 21.25 kB / 1.009 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006663/1.42, allocations: 29.17 kB / 1.009 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/1.42, allocations: 41.59 kB / 1.009 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/1.42, allocations: 23.16 kB / 1.009 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000539/1.421, allocations: 455.4 kB / 1.01 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.421, allocations: 0.8438 kB / 1.01 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008682/1.422, allocations: 339.1 kB / 1.01 GB, free: 10.11 MB / 0.7325 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.0003274/1.422, allocations: 198.3 kB / 1.01 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001014/1.423, allocations: 0.6432 MB / 1.011 GB, free: 10 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.423, allocations: 0 / 1.011 GB, free: 10 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004589/1.423, allocations: 351.3 kB / 1.011 GB, free: 10 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/1.426, allocations: 0.5491 MB / 1.012 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003452/1.429, allocations: 2.191 MB / 1.014 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006712/1.43, allocations: 1.086 MB / 1.015 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008544/1.431, allocations: 225.6 kB / 1.015 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/1.431, allocations: 71.91 kB / 1.015 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of SimCode: time 6.92e-07/1.431, allocations: 3.281 kB / 1.015 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of Templates: time 0.03134/1.462, allocations: 18.54 MB / 1.033 GB, free: 2.812 MB / 0.7325 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)