Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.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.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 108.9 kB / 16.36 MB, free: 5.824 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.001358/0.001358, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.803/1.803, 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.002655/0.002655, allocations: 299 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 90.23 kB / 0.5966 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2912, allocations: 86.99 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 1.017/1.308, allocations: 213.6 MB / 0.8902 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01804/1.326, allocations: 10.19 MB / 0.9002 GB, free: 14.54 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/1.329, allocations: 39.81 kB / 0.9002 GB, free: 14.5 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002715/1.332, allocations: 0.8352 MB / 0.901 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009462/1.341, allocations: 2.901 MB / 0.9038 GB, free: 10.75 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004857/1.346, allocations: 1.412 MB / 0.9052 GB, free: 9.336 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006129/1.352, allocations: 3.163 MB / 0.9083 GB, free: 6.16 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/1.354, allocations: 1.031 MB / 0.9093 GB, free: 5.117 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002426/1.357, allocations: 1.125 MB / 0.9104 GB, free: 3.988 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002276/1.359, allocations: 1.081 MB / 0.9115 GB, free: 2.91 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001879/1.359, allocations: 120 kB / 0.9116 GB, free: 2.793 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007033/1.366, allocations: 2.732 MB / 0.9143 GB, free: 56 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007016/1.367, allocations: 0.4909 MB / 0.9147 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/1.368, allocations: 0.7312 MB / 0.9155 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006461/1.374, allocations: 2.809 MB / 0.9182 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/1.374, allocations: 0 / 0.9182 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.956e-06/1.375, allocations: 0 / 0.9182 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.309e-05/1.375, allocations: 0 / 0.9182 GB, free: 12.01 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004629/1.379, allocations: 1.784 MB / 0.9199 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/1.379, allocations: 12.03 kB / 0.9199 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/1.382, allocations: 430 kB / 0.9204 GB, free: 9.742 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/1.384, allocations: 0.8979 MB / 0.9212 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.838e-05/1.384, allocations: 70 kB / 0.9213 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/1.384, allocations: 96.86 kB / 0.9214 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/1.387, allocations: 1.198 MB / 0.9226 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/1.387, allocations: 4 kB / 0.9226 GB, free: 7.402 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/1.387, allocations: 40 kB / 0.9226 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.579e-05/1.387, allocations: 57.92 kB / 0.9227 GB, free: 7.305 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/1.389, allocations: 1.066 MB / 0.9237 GB, free: 6.238 MB / 0.6856 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.006485/1.395, allocations: 4.758 MB / 0.9283 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/1.397, allocations: 0.9841 MB / 0.9293 GB, free: 60 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/1.398, allocations: 0.5791 MB / 0.9299 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009108/1.399, allocations: 0.6733 MB / 0.9305 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.997e-05/1.399, allocations: 43.22 kB / 0.9306 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.236e-06/1.399, allocations: 0 / 0.9306 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of matching and sorting (n=83): time 0.00482/1.404, allocations: 2.3 MB / 0.9328 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/1.404, allocations: 64.39 kB / 0.9329 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008526/1.405, allocations: 0.6449 MB / 0.9335 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.529e-05/1.405, allocations: 41.7 kB / 0.9335 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/1.405, allocations: 452.1 kB / 0.934 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/1.406, allocations: 295.6 kB / 0.9343 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/1.406, allocations: 142.5 kB / 0.9344 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002335/1.406, allocations: 390.7 kB / 0.9348 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/1.407, allocations: 329.8 kB / 0.9351 GB, free: 9.879 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000595/1.407, allocations: 426.5 kB / 0.9355 GB, free: 9.438 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/1.408, allocations: 0.7846 MB / 0.9363 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.408, allocations: 0 / 0.9363 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001635/1.41, allocations: 0.9502 MB / 0.9372 GB, free: 7.664 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/1.41, allocations: 4 kB / 0.9372 GB, free: 7.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.41, allocations: 4 kB / 0.9372 GB, free: 7.656 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003278/1.41, allocations: 52.83 kB / 0.9372 GB, free: 7.602 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007075/1.411, allocations: 156 kB / 0.9374 GB, free: 7.449 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005968/1.412, allocations: 0.6109 MB / 0.938 GB, free: 6.812 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007107/1.412, allocations: 20 kB / 0.938 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/1.413, allocations: 31.98 kB / 0.938 GB, free: 6.762 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005315/1.413, allocations: 302.1 kB / 0.9383 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/1.413, allocations: 98.81 kB / 0.9384 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/1.415, allocations: 0.922 MB / 0.9393 GB, free: 5.426 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/1.415, allocations: 8 kB / 0.9393 GB, free: 5.418 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.415, allocations: 0 / 0.9393 GB, free: 5.418 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001306/1.416, allocations: 0.9309 MB / 0.9402 GB, free: 4.438 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/1.42, allocations: 2.11 MB / 0.9423 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.42, allocations: 4 kB / 0.9423 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009265/1.421, allocations: 191.8 kB / 0.9425 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/1.421, allocations: 7.938 kB / 0.9425 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.777e-05/1.421, allocations: 19.98 kB / 0.9425 GB, free: 2.051 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/1.421, allocations: 7.938 kB / 0.9425 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.421, allocations: 0 / 0.9425 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/1.423, allocations: 1.38 MB / 0.9439 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004527/1.423, allocations: 256 kB / 0.9441 GB, free: 388 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/1.423, allocations: 19.94 kB / 0.9441 GB, free: 368 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006151/1.424, allocations: 25.02 kB / 0.9442 GB, free: 344 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/1.424, allocations: 60.92 kB / 0.9442 GB, free: 280 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.694e-05/1.424, allocations: 27.98 kB / 0.9442 GB, free: 252 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006159/1.425, allocations: 455 kB / 0.9447 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.425, allocations: 4 kB / 0.9447 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001001/1.426, allocations: 316 kB / 0.945 GB, free: 15.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.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 (83): * Single equations (assignments): 83 * 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.0004783/1.426, allocations: 214.2 kB / 0.9452 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001427/1.428, allocations: 0.8171 MB / 0.946 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.428, allocations: 4.125 kB / 0.946 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006348/1.428, allocations: 441.6 kB / 0.9464 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/1.431, allocations: 0.5983 MB / 0.947 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/1.435, allocations: 2.284 MB / 0.9492 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000801/1.436, allocations: 1.128 MB / 0.9503 GB, free: 9.988 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009134/1.437, allocations: 251.8 kB / 0.9506 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/1.437, allocations: 75.44 kB / 0.9506 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of SimCode: time 7.51e-07/1.437, allocations: 0 / 0.9506 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of Templates: time 0.5593/1.996, allocations: 20.47 MB / 0.9706 GB, free: 248.2 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)