Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 110.8 kB / 16.42 MB, free: 6.496 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.001168/0.001168, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.29/1.29, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 284.8 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9618/0.9618, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 91.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4506, allocations: 86.97 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7048/1.155, allocations: 235.8 MB / 0.9974 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.014/1.169, allocations: 10.41 MB / 1.008 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003165/1.173, allocations: 59.62 kB / 1.008 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002944/1.176, allocations: 1.191 MB / 1.009 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008731/1.184, allocations: 3.661 MB / 1.012 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004816/1.189, allocations: 2.069 MB / 1.014 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006104/1.195, allocations: 4.453 MB / 1.019 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002595/1.198, allocations: 1.578 MB / 1.02 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002836/1.201, allocations: 1.62 MB / 1.022 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002536/1.203, allocations: 1.496 MB / 1.023 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003023/1.204, allocations: 184.2 kB / 1.023 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006259/1.21, allocations: 3.241 MB / 1.027 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007914/1.211, allocations: 0.6982 MB / 1.027 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001377/1.212, allocations: 1.065 MB / 1.028 GB, free: 500 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006401/1.219, allocations: 3.818 MB / 1.032 GB, free: 44 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.219, allocations: 1.359 kB / 1.032 GB, free: 44 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/1.219, allocations: 0.8438 kB / 1.032 GB, free: 44 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.714e-05/1.219, allocations: 0 / 1.032 GB, free: 44 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.00524/1.224, allocations: 2.485 MB / 1.035 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.224, allocations: 10.78 kB / 1.035 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003421/1.227, allocations: 0.5252 MB / 1.035 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/1.229, allocations: 1.286 MB / 1.036 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.678e-05/1.229, allocations: 107 kB / 1.036 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/1.23, allocations: 140.6 kB / 1.037 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002715/1.232, allocations: 1.667 MB / 1.038 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/1.232, allocations: 7.859 kB / 1.038 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/1.233, allocations: 58.06 kB / 1.038 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/1.233, allocations: 67.66 kB / 1.038 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/1.235, allocations: 1.452 MB / 1.04 GB, free: 14.11 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.007908/1.243, allocations: 6.983 MB / 1.047 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/1.245, allocations: 1.189 MB / 1.048 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008981/1.246, allocations: 0.6147 MB / 1.048 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008712/1.247, allocations: 0.8579 MB / 1.049 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/1.248, allocations: 0.6083 MB / 1.05 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 3.406e-06/1.248, allocations: 3.094 kB / 1.05 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=110): time 0.002958/1.251, allocations: 1.574 MB / 1.051 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/1.251, allocations: 87.83 kB / 1.051 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/1.252, allocations: 1.198 MB / 1.053 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.259e-05/1.252, allocations: 49.36 kB / 1.053 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005373/1.253, allocations: 0.6765 MB / 1.053 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003365/1.253, allocations: 385.3 kB / 1.054 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/1.254, allocations: 176.9 kB / 1.054 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.254, allocations: 344.6 kB / 1.054 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007062/1.254, allocations: 443.1 kB / 1.055 GB, free: 4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008647/1.255, allocations: 0.546 MB / 1.055 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/1.257, allocations: 1.019 MB / 1.056 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.257, allocations: 0 / 1.056 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001948/1.259, allocations: 1.22 MB / 1.057 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.259, allocations: 8 kB / 1.057 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.259, allocations: 0 / 1.057 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/1.259, allocations: 11.94 kB / 1.057 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009676/1.26, allocations: 212.5 kB / 1.057 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/1.26, allocations: 15.92 kB / 1.057 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/1.261, allocations: 95.27 kB / 1.058 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.15e-05/1.261, allocations: 36 kB / 1.058 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00118/1.262, allocations: 0.7424 MB / 1.058 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007841/1.263, allocations: 0.5405 MB / 1.059 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00147/1.265, allocations: 0.9947 MB / 1.06 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/1.265, allocations: 0 / 1.06 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001887/1.266, allocations: 1.196 MB / 1.061 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/1.267, allocations: 11.12 kB / 1.061 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.267, allocations: 7.094 kB / 1.061 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/1.267, allocations: 8 kB / 1.061 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009229/1.267, allocations: 208.6 kB / 1.061 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/1.267, allocations: 8 kB / 1.061 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/1.269, allocations: 83.19 kB / 1.061 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/1.269, allocations: 32 kB / 1.061 GB, free: 14.25 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.0002667/1.269, allocations: 236.8 kB / 1.062 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/1.269, allocations: 154.2 kB / 1.062 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/1.271, allocations: 1.246 MB / 1.063 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0017/1.273, allocations: 1.003 MB / 1.064 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/1.273, allocations: 0 / 1.064 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006021/1.274, allocations: 362.9 kB / 1.064 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/1.274, allocations: 23.19 kB / 1.064 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009726/1.275, allocations: 34.83 kB / 1.064 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/1.275, allocations: 64.91 kB / 1.064 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002731/1.278, allocations: 1.314 MB / 1.066 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002946/1.281, allocations: 1.977 MB / 1.068 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000791/1.282, allocations: 0.5466 MB / 1.068 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001199/1.283, allocations: 0.8219 MB / 1.069 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of Backend: time 7.91e-07/1.283, allocations: 0 / 1.069 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005996/1.289, allocations: 2.316 MB / 1.071 GB, free: 4.426 MB / 0.7481 GB Notification: Performance of SimCode: time 0.007522/1.296, allocations: 3.953 MB / 1.075 GB, free: 456 kB / 0.7481 GB Notification: Performance of Templates: time 0.06245/1.359, allocations: 41.3 MB / 1.115 GB, free: 7.641 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)