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.001683/0.001683, allocations: 105.9 kB / 15.99 MB, free: 6.359 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.001756/0.001756, allocations: 199.3 kB / 16.91 MB, free: 6.199 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.419/1.419, allocations: 222.9 MB / 240.6 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002508/0.002508, allocations: 275.2 kB / 291 MB, free: 2.031 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.038/1.038, allocations: 178.6 MB / 0.5076 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 100.5 kB / 0.6066 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1673, allocations: 89.15 MB / 0.6936 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PressurizationData): time 0.51/0.6773, allocations: 184.8 MB / 0.8741 GB, free: 220 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02146/0.6988, allocations: 15.84 MB / 0.8895 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.7011, allocations: 39.75 kB / 0.8896 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002042/0.7032, allocations: 0.6138 MB / 0.8902 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006408/0.7096, allocations: 2.091 MB / 0.8922 GB, free: 468 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004661/0.7143, allocations: 1.652 MB / 0.8938 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005276/0.7196, allocations: 3.611 MB / 0.8974 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003016/0.7226, allocations: 1.926 MB / 0.8992 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00483/0.7274, allocations: 1.512 MB / 0.9007 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002417/0.7299, allocations: 1.291 MB / 0.902 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004344/0.7303, allocations: 216 kB / 0.9022 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004355/0.7347, allocations: 1.984 MB / 0.9041 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007637/0.7355, allocations: 0.6503 MB / 0.9047 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.7371, allocations: 1.143 MB / 0.9059 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004025/0.7411, allocations: 2.658 MB / 0.9085 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7411, allocations: 0 / 0.9085 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7411, allocations: 0 / 0.9085 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.398e-05/0.7412, allocations: 0 / 0.9085 GB, free: 15.77 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: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.004945/0.7462, allocations: 2.546 MB / 0.9109 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.7462, allocations: 12.03 kB / 0.911 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003586/0.7498, allocations: 0.5203 MB / 0.9115 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/0.7521, allocations: 1.255 MB / 0.9127 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.7522, allocations: 135.2 kB / 0.9128 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/0.7525, allocations: 160 kB / 0.913 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003587/0.7561, allocations: 1.86 MB / 0.9148 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.206e-05/0.7561, allocations: 3.906 kB / 0.9148 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/0.7563, allocations: 79.94 kB / 0.9149 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.065e-05/0.7564, allocations: 59.16 kB / 0.9149 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/0.7598, allocations: 1.87 MB / 0.9168 GB, free: 7.07 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.01006/0.7699, allocations: 6.543 MB / 0.9231 GB, free: 120 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002979/0.7729, allocations: 1.583 MB / 0.9247 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.7741, allocations: 0.6559 MB / 0.9253 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008045/0.7749, allocations: 0.6219 MB / 0.9259 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001656/0.7765, allocations: 0.8723 MB / 0.9268 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=142): time 3.216e-06/0.7766, allocations: 4 kB / 0.9268 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=142): time 0.006077/0.7826, allocations: 2.329 MB / 0.9291 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.7828, allocations: 205.2 kB / 0.9293 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.7845, allocations: 1.088 MB / 0.9303 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001975/0.7847, allocations: 57.7 kB / 0.9304 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007599/0.7855, allocations: 0.7159 MB / 0.9311 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005356/0.786, allocations: 477.1 kB / 0.9315 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004426/0.7865, allocations: 267.4 kB / 0.9318 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.7867, allocations: 357.9 kB / 0.9321 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.7877, allocations: 0.4919 MB / 0.9326 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.789, allocations: 0.675 MB / 0.9333 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002224/0.7912, allocations: 1.178 MB / 0.9344 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.7912, allocations: 0 / 0.9344 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003759/0.795, allocations: 1.567 MB / 0.936 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.7951, allocations: 6.344 kB / 0.936 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.7951, allocations: 4 kB / 0.936 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000854/0.7959, allocations: 146.5 kB / 0.9361 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.7974, allocations: 311.5 kB / 0.9364 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004796/0.8022, allocations: 4.547 MB / 0.9408 GB, free: 13.15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.804, allocations: 178.8 kB / 0.941 GB, free: 12.97 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.8041, allocations: 59.95 kB / 0.9411 GB, free: 12.91 MB / 0.67 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.0008999/0.805, allocations: 419.2 kB / 0.9415 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003695/0.8054, allocations: 154.1 kB / 0.9416 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004145/0.8096, allocations: 1.796 MB / 0.9434 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.8096, allocations: 19.98 kB / 0.9434 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.8096, allocations: 4 kB / 0.9434 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003124/0.8127, allocations: 1.478 MB / 0.9448 GB, free: 8.98 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006658/0.8194, allocations: 3.495 MB / 0.9482 GB, free: 5.426 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.403e-06/0.8195, allocations: 4 kB / 0.9483 GB, free: 5.422 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/0.8209, allocations: 295.6 kB / 0.9485 GB, free: 5.133 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006611/0.8216, allocations: 134.5 kB / 0.9487 GB, free: 4.992 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/0.8217, allocations: 39.97 kB / 0.9487 GB, free: 4.953 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005198/0.8269, allocations: 4.541 MB / 0.9531 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.827, allocations: 0 / 0.9531 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005325/0.8323, allocations: 2.436 MB / 0.9555 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.8334, allocations: 434.7 kB / 0.9559 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/0.8337, allocations: 28 kB / 0.956 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.8352, allocations: 130.7 kB / 0.9561 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/0.8354, allocations: 113.2 kB / 0.9562 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.8356, allocations: 63.95 kB / 0.9562 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001193/0.8368, allocations: 0.75 MB / 0.957 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6.41e-07/0.8368, allocations: 0 / 0.957 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0018/0.8386, allocations: 0.6508 MB / 0.9576 GB, free: 11.34 MB / 0.6856 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.002421/0.841, allocations: 0.7591 MB / 0.9584 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005433/0.8465, allocations: 2.171 MB / 0.9605 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.8465, allocations: 448 / 0.9605 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001894/0.8484, allocations: 1.074 MB / 0.9615 GB, free: 7.449 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003333/0.8518, allocations: 0.7182 MB / 0.9622 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007288/0.8591, allocations: 4.223 MB / 0.9664 GB, free: 2.496 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.8603, allocations: 1.386 MB / 0.9677 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007671/0.8611, allocations: 187.3 kB / 0.9679 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of SimCode: time 7.11e-07/0.8611, allocations: 0 / 0.9679 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of Templates: time 0.06888/0.93, allocations: 49.96 MB / 1.017 GB, free: 15.05 MB / 0.7481 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)