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.0009091/0.0009088, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.00112/0.00112, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003349/0.003349, allocations: 270.9 kB / 291.4 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9788/0.9788, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005178/0.0005181, allocations: 15.88 kB / 0.598 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.193, allocations: 88.54 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5966/0.7897, allocations: 215 MB / 0.8944 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01557/0.8053, allocations: 9.79 MB / 0.904 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.8078, allocations: 55.62 kB / 0.9041 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.8106, allocations: 0.8078 MB / 0.9048 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008534/0.8191, allocations: 2.66 MB / 0.9074 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005221/0.8244, allocations: 1.452 MB / 0.9089 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007154/0.8315, allocations: 5.281 MB / 0.914 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002597/0.8342, allocations: 1.175 MB / 0.9152 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003425/0.8376, allocations: 1.35 MB / 0.9165 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003006/0.8407, allocations: 1.405 MB / 0.9179 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005779/0.8413, allocations: 79.94 kB / 0.9179 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005469/0.8467, allocations: 1.621 MB / 0.9195 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001179/0.848, allocations: 0.5802 MB / 0.9201 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.849, allocations: 404.7 kB / 0.9205 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00454/0.8536, allocations: 2.576 MB / 0.923 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.8536, allocations: 3.938 kB / 0.923 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8536, allocations: 0 / 0.923 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001089/0.8537, allocations: 0 / 0.923 GB, free: 11.86 MB / 0.6387 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.005542/0.8593, allocations: 2.14 MB / 0.9251 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.8593, allocations: 8.031 kB / 0.9251 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003554/0.8629, allocations: 0.5245 MB / 0.9256 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.8655, allocations: 1.179 MB / 0.9267 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.8656, allocations: 106.6 kB / 0.9268 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003177/0.8659, allocations: 139.9 kB / 0.927 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003318/0.8693, allocations: 1.654 MB / 0.9286 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.8693, allocations: 11.94 kB / 0.9286 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.8695, allocations: 52 kB / 0.9287 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-05/0.8696, allocations: 74.55 kB / 0.9287 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002824/0.8724, allocations: 1.451 MB / 0.9301 GB, free: 4.34 MB / 0.6387 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.009475/0.8819, allocations: 6.973 MB / 0.937 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.8838, allocations: 1.2 MB / 0.9381 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009582/0.8848, allocations: 0.6084 MB / 0.9387 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000835/0.8857, allocations: 0.8633 MB / 0.9396 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.8868, allocations: 0.6103 MB / 0.9402 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.837e-06/0.8868, allocations: 4 kB / 0.9402 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.003212/0.89, allocations: 1.572 MB / 0.9417 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.8901, allocations: 90.11 kB / 0.9418 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.8918, allocations: 1.186 MB / 0.9429 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.892, allocations: 49.7 kB / 0.943 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005752/0.8926, allocations: 0.6788 MB / 0.9437 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003751/0.8929, allocations: 386.4 kB / 0.944 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.893, allocations: 20 kB / 0.944 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.8931, allocations: 341.9 kB / 0.9444 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007531/0.8939, allocations: 421.8 kB / 0.9448 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008495/0.8948, allocations: 0.5518 MB / 0.9453 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000888/0.8957, allocations: 498.8 kB / 0.9458 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.8957, allocations: 4 kB / 0.9458 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002224/0.8979, allocations: 1.218 MB / 0.947 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.898, allocations: 163.6 kB / 0.9471 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.898, allocations: 7.938 kB / 0.9471 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.8981, allocations: 8 kB / 0.9471 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009827/0.8991, allocations: 219.7 kB / 0.9474 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.789e-05/0.8991, allocations: 15.92 kB / 0.9474 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.9005, allocations: 182.9 kB / 0.9475 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.9006, allocations: 36.69 kB / 0.9476 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.9007, allocations: 4 kB / 0.9476 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001737/0.9024, allocations: 1.038 MB / 0.9486 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.9024, allocations: 4.297 kB / 0.9486 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.9024, allocations: 15.95 kB / 0.9486 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009145/0.9034, allocations: 207.7 kB / 0.9488 GB, free: 392 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.9034, allocations: 7.984 kB / 0.9488 GB, free: 384 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.9048, allocations: 172 kB / 0.949 GB, free: 212 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.38e-05/0.9049, allocations: 39.98 kB / 0.949 GB, free: 172 kB / 0.6544 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 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008867/0.9058, allocations: 499.1 kB / 0.9495 GB, free: 15.67 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/0.9061, allocations: 150.2 kB / 0.9496 GB, free: 15.52 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.9085, allocations: 1.239 MB / 0.9509 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.9085, allocations: 15.95 kB / 0.9509 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.9086, allocations: 0 / 0.9509 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001657/0.9102, allocations: 1.018 MB / 0.9519 GB, free: 13.22 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005475/0.9157, allocations: 3.17 MB / 0.955 GB, free: 9.93 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/0.9157, allocations: 4.875 kB / 0.955 GB, free: 9.926 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.9169, allocations: 227.7 kB / 0.9552 GB, free: 9.703 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.964e-05/0.9169, allocations: 8 kB / 0.9552 GB, free: 9.695 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.192e-05/0.917, allocations: 31.98 kB / 0.9552 GB, free: 9.664 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/0.917, allocations: 4.312 kB / 0.9552 GB, free: 9.66 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.917, allocations: 11.94 kB / 0.9552 GB, free: 9.648 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003091/0.9201, allocations: 1.915 MB / 0.9571 GB, free: 7.684 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000815/0.921, allocations: 363.8 kB / 0.9575 GB, free: 7.309 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002996/0.9213, allocations: 24 kB / 0.9575 GB, free: 7.285 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.9225, allocations: 111.8 kB / 0.9576 GB, free: 7.176 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.9227, allocations: 72.86 kB / 0.9577 GB, free: 7.105 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.869e-05/0.9228, allocations: 39.98 kB / 0.9577 GB, free: 7.066 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00127/0.9241, allocations: 0.818 MB / 0.9585 GB, free: 6.246 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.482e-06/0.9241, allocations: 96 / 0.9585 GB, free: 6.246 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002274/0.9264, allocations: 0.8454 MB / 0.9593 GB, free: 5.398 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001448/0.9278, allocations: 0.581 MB / 0.9599 GB, free: 4.98 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002998/0.9308, allocations: 1.616 MB / 0.9615 GB, free: 3.363 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.9309, allocations: 0 / 0.9615 GB, free: 3.363 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009867/0.9319, allocations: 0.5719 MB / 0.962 GB, free: 2.797 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004183/0.9361, allocations: 0.8306 MB / 0.9628 GB, free: 1.977 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006653/0.9427, allocations: 4.028 MB / 0.9668 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.944, allocations: 1.368 MB / 0.9681 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002382/0.9464, allocations: 451.6 kB / 0.9685 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/0.9469, allocations: 111.4 kB / 0.9686 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of SimCode: time 1.353e-06/0.9469, allocations: 0 / 0.9686 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of Templates: time 0.0469/0.9938, allocations: 27.71 MB / 0.9957 GB, free: 0.6289 MB / 0.7012 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)