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.00767/0.00767, allocations: 99.69 kB / 15.73 MB, free: 6.039 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.001563/0.001563, allocations: 186.9 kB / 16.67 MB, free: 5.969 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002484/0.002484, allocations: 283 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9825/0.9825, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 96.08 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2021, allocations: 86.97 MB / 0.7664 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.7431/0.9453, allocations: 202 MB / 0.9636 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.9582, allocations: 7.392 MB / 0.9708 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.9604, allocations: 35.81 kB / 0.9708 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002477/0.963, allocations: 0.6953 MB / 0.9715 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008313/0.9713, allocations: 2.409 MB / 0.9739 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004185/0.9755, allocations: 1.242 MB / 0.9751 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005179/0.9807, allocations: 2.905 MB / 0.9779 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.9826, allocations: 0.9538 MB / 0.9789 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.9853, allocations: 1.043 MB / 0.9799 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002841/0.9881, allocations: 0.9597 MB / 0.9808 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004387/0.9886, allocations: 108 kB / 0.9809 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005337/0.9939, allocations: 2.132 MB / 0.983 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0008206/0.9948, allocations: 442.8 kB / 0.9834 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001702/0.9965, allocations: 0.6689 MB / 0.9841 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006011/1.002, allocations: 2.404 MB / 0.9864 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.003, allocations: 0 / 0.9864 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.364e-06/1.003, allocations: 0 / 0.9864 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.859e-05/1.003, allocations: 0 / 0.9864 GB, free: 1.254 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004783/1.007, allocations: 1.625 MB / 0.988 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/1.007, allocations: 12.03 kB / 0.988 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002749/1.01, allocations: 374.2 kB / 0.9884 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/1.012, allocations: 0.8513 MB / 0.9892 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.397e-05/1.012, allocations: 65.94 kB / 0.9893 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/1.012, allocations: 91.89 kB / 0.9894 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/1.014, allocations: 1.042 MB / 0.9904 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/1.014, allocations: 0 / 0.9904 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.19e-05/1.014, allocations: 39.98 kB / 0.9904 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-05/1.014, allocations: 41.98 kB / 0.9904 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/1.016, allocations: 0.8822 MB / 0.9913 GB, free: 12.11 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.005511/1.021, allocations: 4.288 MB / 0.9955 GB, free: 7.465 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/1.023, allocations: 0.7058 MB / 0.9962 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007645/1.023, allocations: 467.5 kB / 0.9966 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006618/1.024, allocations: 0.6771 MB / 0.9973 GB, free: 5.469 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/1.024, allocations: 43.11 kB / 0.9973 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 3.106e-06/1.024, allocations: 0 / 0.9973 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.001973/1.026, allocations: 0.99 MB / 0.9983 GB, free: 4.426 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/1.026, allocations: 63.97 kB / 0.9984 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008376/1.027, allocations: 0.6334 MB / 0.999 GB, free: 3.715 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.591e-05/1.027, allocations: 37.7 kB / 0.999 GB, free: 3.672 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/1.027, allocations: 432.1 kB / 0.9994 GB, free: 3.242 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/1.028, allocations: 252.3 kB / 0.9997 GB, free: 2.992 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/1.028, allocations: 114.3 kB / 0.9998 GB, free: 2.871 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001703/1.028, allocations: 390.7 kB / 1 GB, free: 2.48 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004562/1.029, allocations: 285.1 kB / 1 GB, free: 2.203 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005119/1.029, allocations: 353.1 kB / 1.001 GB, free: 1.836 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009874/1.03, allocations: 0.6626 MB / 1.001 GB, free: 1.152 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.03, allocations: 0 / 1.001 GB, free: 1.152 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001382/1.032, allocations: 0.793 MB / 1.002 GB, free: 360 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.032, allocations: 4.188 kB / 1.002 GB, free: 356 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.032, allocations: 9 kB / 1.002 GB, free: 348 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/1.032, allocations: 4 kB / 1.002 GB, free: 344 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/1.032, allocations: 143.8 kB / 1.002 GB, free: 200 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/1.032, allocations: 4 kB / 1.002 GB, free: 196 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009261/1.033, allocations: 59.39 kB / 1.002 GB, free: 136 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.762e-05/1.033, allocations: 24 kB / 1.002 GB, free: 112 kB / 0.7481 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.0005259/1.034, allocations: 285.7 kB / 1.003 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/1.034, allocations: 90.97 kB / 1.003 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/1.036, allocations: 0.787 MB / 1.004 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.036, allocations: 8 kB / 1.004 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.036, allocations: 7.609 kB / 1.004 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001063/1.037, allocations: 0.8268 MB / 1.004 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00291/1.04, allocations: 1.849 MB / 1.006 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/1.04, allocations: 4 kB / 1.006 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008191/1.04, allocations: 167.7 kB / 1.006 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/1.04, allocations: 4 kB / 1.006 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.718e-05/1.04, allocations: 19.98 kB / 1.006 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/1.041, allocations: 8 kB / 1.006 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.041, allocations: 0 / 1.006 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/1.042, allocations: 1.195 MB / 1.008 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004485/1.043, allocations: 243.9 kB / 1.008 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/1.043, allocations: 15.98 kB / 1.008 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007085/1.044, allocations: 25.97 kB / 1.008 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.044, allocations: 40.5 kB / 1.008 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/1.044, allocations: 27.98 kB / 1.008 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005807/1.044, allocations: 455 kB / 1.008 GB, free: 9.922 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/1.044, allocations: 0 / 1.008 GB, free: 9.922 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001017/1.045, allocations: 335.3 kB / 1.009 GB, free: 9.594 MB / 0.7637 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.0004167/1.046, allocations: 200 kB / 1.009 GB, free: 9.391 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001207/1.047, allocations: 0.6757 MB / 1.009 GB, free: 8.711 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/1.047, allocations: 0 / 1.009 GB, free: 8.711 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005444/1.048, allocations: 371 kB / 1.01 GB, free: 8.348 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/1.05, allocations: 0.5505 MB / 1.01 GB, free: 7.82 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/1.054, allocations: 2.146 MB / 1.012 GB, free: 5.645 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007323/1.055, allocations: 1.096 MB / 1.014 GB, free: 4.523 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008539/1.055, allocations: 227.2 kB / 1.014 GB, free: 4.297 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/1.056, allocations: 67.44 kB / 1.014 GB, free: 4.234 MB / 0.7637 GB Notification: Performance of SimCode: time 1.333e-06/1.056, allocations: 4 kB / 1.014 GB, free: 4.23 MB / 0.7637 GB Notification: Performance of Templates: time 0.03297/1.089, allocations: 18.72 MB / 1.032 GB, free: 1.797 MB / 0.7794 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)