Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.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.PressurizationData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData") translateModel(BuildingSystems.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000969/0.0009692, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.01086/0.01086, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001784/0.001784, allocations: 267 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9509/0.9509, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004141, allocations: 14.56 kB / 0.5986 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.171, allocations: 88.55 MB / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PressurizationData): time 0.5532/0.7242, allocations: 181.7 MB / 0.8626 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02094/0.7452, allocations: 15.77 MB / 0.878 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.7474, allocations: 37.72 kB / 0.878 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.7493, allocations: 0.5861 MB / 0.8786 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006104/0.7554, allocations: 1.993 MB / 0.8806 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004503/0.7599, allocations: 1.616 MB / 0.8821 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00497/0.7649, allocations: 4.223 MB / 0.8863 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.7676, allocations: 1.697 MB / 0.8879 GB, free: 216 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00406/0.7717, allocations: 1.172 MB / 0.8891 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.7736, allocations: 1.071 MB / 0.8901 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002612/0.7739, allocations: 64 kB / 0.8902 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004104/0.778, allocations: 2.027 MB / 0.8921 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005282/0.7786, allocations: 486 kB / 0.8926 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.7797, allocations: 0.9337 MB / 0.8935 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005034/0.7848, allocations: 3.368 MB / 0.8968 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.7848, allocations: 0 / 0.8968 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.138e-06/0.7848, allocations: 0 / 0.8968 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.314e-05/0.7849, allocations: 3.938 kB / 0.8968 GB, free: 7.082 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.004049/0.7889, allocations: 2.116 MB / 0.8989 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.789, allocations: 15.97 kB / 0.8989 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003406/0.7924, allocations: 0.5243 MB / 0.8994 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/0.7945, allocations: 1.259 MB / 0.9006 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.7946, allocations: 127.2 kB / 0.9008 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/0.7949, allocations: 160 kB / 0.9009 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003248/0.7981, allocations: 1.864 MB / 0.9027 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/0.7982, allocations: 0 / 0.9027 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.7983, allocations: 76 kB / 0.9028 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.815e-05/0.7984, allocations: 67.14 kB / 0.9029 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003319/0.8017, allocations: 1.878 MB / 0.9047 GB, free: 14.8 MB / 0.6231 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.0089/0.8107, allocations: 6.329 MB / 0.9109 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/0.8134, allocations: 1.582 MB / 0.9124 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.8145, allocations: 0.656 MB / 0.9131 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000754/0.8153, allocations: 0.622 MB / 0.9137 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/0.8169, allocations: 0.8762 MB / 0.9145 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=142): time 2.695e-06/0.8169, allocations: 0 / 0.9145 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of matching and sorting (n=142): time 0.005734/0.8227, allocations: 2.345 MB / 0.9168 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.8228, allocations: 205.2 kB / 0.917 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.8244, allocations: 1.089 MB / 0.9181 GB, free: 456 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/0.8246, allocations: 57.7 kB / 0.9181 GB, free: 392 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000689/0.8253, allocations: 0.7159 MB / 0.9188 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000448/0.8258, allocations: 477.1 kB / 0.9193 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.8259, allocations: 109.7 kB / 0.9194 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.8261, allocations: 353.9 kB / 0.9197 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000984/0.8271, allocations: 0.5075 MB / 0.9202 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.8283, allocations: 0.675 MB / 0.9209 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/0.8304, allocations: 1.185 MB / 0.922 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.8304, allocations: 0 / 0.922 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003473/0.8339, allocations: 1.571 MB / 0.9236 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.8339, allocations: 8 kB / 0.9236 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.8339, allocations: 0 / 0.9236 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008152/0.8348, allocations: 154.5 kB / 0.9237 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.8361, allocations: 311.6 kB / 0.924 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003904/0.84, allocations: 4.213 MB / 0.9281 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.8417, allocations: 191.5 kB / 0.9283 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.8419, allocations: 55.97 kB / 0.9284 GB, free: 5.367 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008668/0.8427, allocations: 428 kB / 0.9288 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.843, allocations: 154.1 kB / 0.9289 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003932/0.8469, allocations: 1.82 MB / 0.9307 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.847, allocations: 16 kB / 0.9307 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.847, allocations: 0 / 0.9307 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002994/0.85, allocations: 1.494 MB / 0.9322 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006007/0.856, allocations: 3.5 MB / 0.9356 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.856, allocations: 0 / 0.9356 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.8574, allocations: 299.6 kB / 0.9359 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006965/0.8581, allocations: 138.5 kB / 0.936 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.8582, allocations: 51.91 kB / 0.9361 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003638/0.8619, allocations: 4.226 MB / 0.9402 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.8619, allocations: 3.938 kB / 0.9402 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004626/0.8665, allocations: 2.452 MB / 0.9426 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000873/0.8674, allocations: 446.5 kB / 0.943 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.8676, allocations: 32 kB / 0.9431 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.869, allocations: 141.5 kB / 0.9432 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002308/0.8692, allocations: 117 kB / 0.9433 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.8693, allocations: 63.95 kB / 0.9434 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001089/0.8704, allocations: 0.7461 MB / 0.9441 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8704, allocations: 0 / 0.9441 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001604/0.8721, allocations: 0.6352 MB / 0.9447 GB, free: 4.051 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,pow_1dat.mExc,pow_1dat1.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001678/0.8737, allocations: 0.7502 MB / 0.9454 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003006/0.8768, allocations: 1.659 MB / 0.9471 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.8768, allocations: 8.625 kB / 0.9471 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001678/0.8785, allocations: 1.081 MB / 0.9481 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/0.8817, allocations: 0.6527 MB / 0.9488 GB, free: 16 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007403/0.8891, allocations: 4.418 MB / 0.9531 GB, free: 11.57 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009952/0.8901, allocations: 1.386 MB / 0.9544 GB, free: 10.15 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001875/0.892, allocations: 464.4 kB / 0.9549 GB, free: 9.691 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004563/0.8925, allocations: 171.3 kB / 0.955 GB, free: 9.523 MB / 0.67 GB Notification: Performance of SimCode: time 3.81e-07/0.8925, allocations: 3.938 kB / 0.955 GB, free: 9.52 MB / 0.67 GB Notification: Performance of Templates: time 0.05039/0.9429, allocations: 30.05 MB / 0.9844 GB, free: 11.84 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)