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.001035/0.001035, allocations: 115.1 kB / 16.42 MB, free: 6.488 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.001075/0.001075, allocations: 185.7 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.298/1.298, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 290.5 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 0.9547/0.9547, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 91.86 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3783, allocations: 86.98 MB / 0.7671 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5889/0.9672, allocations: 235.8 MB / 0.9974 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01498/0.9823, allocations: 10.42 MB / 1.008 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.9839, allocations: 61.72 kB / 1.008 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.9863, allocations: 1.228 MB / 1.009 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007071/0.9934, allocations: 3.792 MB / 1.013 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004163/0.9976, allocations: 2.081 MB / 1.015 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004021/1.002, allocations: 4.46 MB / 1.019 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/1.003, allocations: 1.583 MB / 1.02 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/1.005, allocations: 1.64 MB / 1.022 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/1.007, allocations: 1.497 MB / 1.023 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002401/1.007, allocations: 183.8 kB / 1.024 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005352/1.013, allocations: 3.265 MB / 1.027 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005283/1.013, allocations: 0.6878 MB / 1.028 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000889/1.014, allocations: 1.069 MB / 1.029 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004455/1.019, allocations: 3.822 MB / 1.032 GB, free: 68 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.019, allocations: 3.312 kB / 1.032 GB, free: 68 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/1.019, allocations: 0 / 1.032 GB, free: 68 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.095e-05/1.019, allocations: 0.9062 kB / 1.032 GB, free: 68 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.004878/1.024, allocations: 2.483 MB / 1.035 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/1.024, allocations: 11.62 kB / 1.035 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003329/1.027, allocations: 0.5238 MB / 1.035 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/1.029, allocations: 1.288 MB / 1.037 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.289e-05/1.029, allocations: 105.3 kB / 1.037 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/1.029, allocations: 137 kB / 1.037 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/1.032, allocations: 1.67 MB / 1.038 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/1.032, allocations: 3.938 kB / 1.038 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/1.032, allocations: 59.3 kB / 1.038 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.916e-05/1.032, allocations: 75.64 kB / 1.039 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/1.034, allocations: 1.448 MB / 1.04 GB, free: 14.14 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.008018/1.042, allocations: 6.983 MB / 1.047 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/1.044, allocations: 1.192 MB / 1.048 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008977/1.045, allocations: 0.6099 MB / 1.049 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008383/1.046, allocations: 0.858 MB / 1.049 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/1.047, allocations: 0.6077 MB / 1.05 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 3.396e-06/1.047, allocations: 0 / 1.05 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=110): time 0.00294/1.05, allocations: 1.577 MB / 1.051 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/1.05, allocations: 93.05 kB / 1.052 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/1.052, allocations: 1.193 MB / 1.053 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.8e-05/1.052, allocations: 49.42 kB / 1.053 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005425/1.052, allocations: 0.6821 MB / 1.053 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003261/1.053, allocations: 385.4 kB / 1.054 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002905/1.053, allocations: 178 kB / 1.054 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.053, allocations: 342 kB / 1.054 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007229/1.054, allocations: 427.3 kB / 1.055 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008262/1.055, allocations: 0.5614 MB / 1.055 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/1.056, allocations: 1.016 MB / 1.056 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/1.056, allocations: 3.938 kB / 1.056 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002002/1.058, allocations: 1.217 MB / 1.057 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/1.058, allocations: 4 kB / 1.057 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/1.058, allocations: 11.39 kB / 1.057 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/1.058, allocations: 12 kB / 1.057 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/1.059, allocations: 212.5 kB / 1.058 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/1.059, allocations: 11.94 kB / 1.058 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/1.06, allocations: 91.05 kB / 1.058 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/1.06, allocations: 39.98 kB / 1.058 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001226/1.062, allocations: 0.7385 MB / 1.059 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008072/1.063, allocations: 0.5392 MB / 1.059 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001549/1.064, allocations: 0.9987 MB / 1.06 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/1.064, allocations: 3.938 kB / 1.06 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001927/1.066, allocations: 1.195 MB / 1.061 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/1.066, allocations: 4 kB / 1.061 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.066, allocations: 4 kB / 1.061 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/1.066, allocations: 8 kB / 1.061 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009354/1.067, allocations: 208.5 kB / 1.061 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/1.067, allocations: 15.41 kB / 1.061 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/1.068, allocations: 79.2 kB / 1.062 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-05/1.068, allocations: 37.64 kB / 1.062 GB, free: 14 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.0002784/1.068, allocations: 240.8 kB / 1.062 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/1.069, allocations: 146.2 kB / 1.062 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/1.071, allocations: 1.242 MB / 1.063 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001652/1.073, allocations: 1.003 MB / 1.064 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.073, allocations: 0 / 1.064 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006655/1.073, allocations: 366.9 kB / 1.064 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/1.074, allocations: 20 kB / 1.064 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008626/1.074, allocations: 39.02 kB / 1.065 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/1.075, allocations: 64.91 kB / 1.065 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002712/1.077, allocations: 1.314 MB / 1.066 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002939/1.08, allocations: 1.973 MB / 1.068 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008212/1.081, allocations: 0.5466 MB / 1.068 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001089/1.082, allocations: 0.8297 MB / 1.069 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of Backend: time 7.72e-07/1.082, allocations: 0 / 1.069 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005233/1.088, allocations: 2.319 MB / 1.071 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of SimCode: time 0.006561/1.094, allocations: 3.956 MB / 1.075 GB, free: 204 kB / 0.7481 GB Notification: Performance of Templates: time 0.06076/1.155, allocations: 41.29 MB / 1.116 GB, free: 7.406 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)