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.001837/0.001836, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002325/0.002324, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.344/1.344, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002384/0.002384, allocations: 278.9 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9455/0.9455, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 89.22 kB / 0.5947 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1903, allocations: 86.99 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PressurizationData): time 0.465/0.6553, allocations: 184 MB / 0.8594 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01879/0.6741, allocations: 15.75 MB / 0.8747 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.676, allocations: 41.47 kB / 0.8748 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.6778, allocations: 0.5884 MB / 0.8754 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005911/0.6838, allocations: 2.03 MB / 0.8773 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003976/0.6878, allocations: 1.634 MB / 0.8789 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003897/0.6917, allocations: 3.499 MB / 0.8824 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.694, allocations: 1.975 MB / 0.8843 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003641/0.6977, allocations: 1.494 MB / 0.8857 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.6994, allocations: 1.275 MB / 0.887 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003011/0.6997, allocations: 214.5 kB / 0.8872 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003371/0.7031, allocations: 1.98 MB / 0.8891 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000548/0.7036, allocations: 0.6537 MB / 0.8898 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001/0.7046, allocations: 1.116 MB / 0.8909 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004014/0.7087, allocations: 3.546 MB / 0.8943 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7087, allocations: 4 kB / 0.8943 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7087, allocations: 4 kB / 0.8943 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.077e-05/0.7087, allocations: 0 / 0.8943 GB, free: 11.99 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.00419/0.7129, allocations: 2.527 MB / 0.8968 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.713, allocations: 12.03 kB / 0.8968 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003385/0.7164, allocations: 0.517 MB / 0.8973 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/0.7182, allocations: 1.255 MB / 0.8985 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.7183, allocations: 135.2 kB / 0.8987 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.7185, allocations: 160 kB / 0.8988 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003067/0.7216, allocations: 1.852 MB / 0.9006 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/0.7217, allocations: 9.484 kB / 0.9006 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/0.7218, allocations: 76 kB / 0.9007 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.838e-05/0.7219, allocations: 59.16 kB / 0.9008 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003068/0.725, allocations: 1.87 MB / 0.9026 GB, free: 3.324 MB / 0.6075 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.008484/0.7335, allocations: 6.289 MB / 0.9087 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002746/0.7362, allocations: 1.583 MB / 0.9103 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/0.7373, allocations: 0.6521 MB / 0.9109 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006946/0.7381, allocations: 0.6259 MB / 0.9115 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001543/0.7396, allocations: 0.8762 MB / 0.9124 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=142): time 5.51e-06/0.7396, allocations: 0 / 0.9124 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of matching and sorting (n=142): time 0.005619/0.7453, allocations: 2.322 MB / 0.9146 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.7454, allocations: 201.2 kB / 0.9148 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.7472, allocations: 1.092 MB / 0.9159 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.7474, allocations: 57.7 kB / 0.916 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006048/0.748, allocations: 0.7158 MB / 0.9167 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004187/0.7484, allocations: 473.1 kB / 0.9171 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004248/0.7488, allocations: 267.3 kB / 0.9174 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.749, allocations: 357.9 kB / 0.9177 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.75, allocations: 0.4958 MB / 0.9182 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.7512, allocations: 0.6751 MB / 0.9188 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/0.7534, allocations: 1.169 MB / 0.92 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.7534, allocations: 4 kB / 0.92 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003556/0.757, allocations: 1.56 MB / 0.9215 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.757, allocations: 11.98 kB / 0.9215 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.757, allocations: 4.156 kB / 0.9215 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008282/0.7579, allocations: 150.4 kB / 0.9217 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.7592, allocations: 303.5 kB / 0.922 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00421/0.7634, allocations: 4.53 MB / 0.9264 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.7651, allocations: 182.8 kB / 0.9266 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.7653, allocations: 55.97 kB / 0.9266 GB, free: 9.5 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.00087/0.7661, allocations: 427.8 kB / 0.927 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004495/0.7666, allocations: 154.1 kB / 0.9272 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004164/0.7708, allocations: 1.8 MB / 0.9289 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.7708, allocations: 16 kB / 0.9289 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.7708, allocations: 0 / 0.9289 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002997/0.7738, allocations: 1.486 MB / 0.9304 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00627/0.7801, allocations: 3.5 MB / 0.9338 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.7801, allocations: 0 / 0.9338 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.7815, allocations: 291.6 kB / 0.9341 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006494/0.7822, allocations: 130.5 kB / 0.9342 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/0.7823, allocations: 47.97 kB / 0.9343 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003889/0.7862, allocations: 4.545 MB / 0.9387 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7862, allocations: 0 / 0.9387 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004627/0.7908, allocations: 2.436 MB / 0.9411 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007864/0.7917, allocations: 434.9 kB / 0.9415 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003367/0.792, allocations: 28 kB / 0.9415 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/0.7935, allocations: 128.8 kB / 0.9416 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/0.7938, allocations: 113.1 kB / 0.9418 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.7939, allocations: 59.97 kB / 0.9418 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001092/0.795, allocations: 0.7539 MB / 0.9425 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.41e-07/0.795, allocations: 0 / 0.9425 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001785/0.7968, allocations: 0.6313 MB / 0.9432 GB, free: 7.941 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.001764/0.7986, allocations: 0.7511 MB / 0.9439 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00511/0.8037, allocations: 2.178 MB / 0.946 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.8037, allocations: 4.438 kB / 0.946 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001805/0.8055, allocations: 1.066 MB / 0.9471 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/0.8086, allocations: 0.7094 MB / 0.9478 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007642/0.8163, allocations: 4.259 MB / 0.9519 GB, free: 15.08 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.8175, allocations: 1.39 MB / 0.9533 GB, free: 13.66 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002058/0.8196, allocations: 476.2 kB / 0.9537 GB, free: 13.19 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005555/0.8201, allocations: 155.4 kB / 0.9539 GB, free: 13.04 MB / 0.67 GB Notification: Performance of SimCode: time 1.102e-06/0.8201, allocations: 8 kB / 0.9539 GB, free: 13.03 MB / 0.67 GB Notification: Performance of Templates: time 0.05448/0.8746, allocations: 31.34 MB / 0.9845 GB, free: 14.09 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)