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.00779/0.00779, allocations: 97.11 kB / 15.73 MB, free: 6.043 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.001327/0.001327, allocations: 194.3 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.937/2.937, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.01482/0.01482, allocations: 294.3 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 2.065/2.065, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003781/0.003781, allocations: 99.84 kB / 0.6814 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2976, allocations: 86.97 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PressurizationData): time 1.18/1.478, allocations: 186.5 MB / 0.9485 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.1106/1.589, allocations: 15.92 MB / 0.9641 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003432/1.592, allocations: 43.75 kB / 0.9641 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/1.594, allocations: 0.6907 MB / 0.9648 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.05399/1.648, allocations: 2.194 MB / 0.9669 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004978/1.653, allocations: 1.818 MB / 0.9687 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0047/1.658, allocations: 3.502 MB / 0.9721 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07059/1.729, allocations: 1.983 MB / 0.9741 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3542/2.083, allocations: 1.471 MB / 0.9755 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004152/2.087, allocations: 1.236 MB / 0.9767 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0007737/2.088, allocations: 212 kB / 0.9769 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04214/2.13, allocations: 1.946 MB / 0.9788 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.006236/2.136, allocations: 0.6504 MB / 0.9794 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01201/2.148, allocations: 1.116 MB / 0.9805 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.1208/2.269, allocations: 3.521 MB / 0.984 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/2.269, allocations: 0 / 0.984 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.684e-06/2.269, allocations: 0 / 0.984 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.005869/2.275, allocations: 0 / 0.984 GB, free: 3.758 MB / 0.7325 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.07779/2.353, allocations: 2.597 MB / 0.9865 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 0.002187/2.355, allocations: 8.031 kB / 0.9865 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004434/2.359, allocations: 0.526 MB / 0.987 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004817/2.364, allocations: 1.331 MB / 0.9883 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004948/2.369, allocations: 123.3 kB / 0.9884 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003532/2.37, allocations: 164 kB / 0.9886 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02747/2.397, allocations: 1.864 MB / 0.9904 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004631/2.402, allocations: 4 kB / 0.9904 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/2.402, allocations: 68 kB / 0.9905 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-05/2.402, allocations: 75.03 kB / 0.9906 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003947/2.406, allocations: 1.87 MB / 0.9924 GB, free: 10.93 MB / 0.7481 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.01915/2.425, allocations: 6.261 MB / 0.9985 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04141/2.467, allocations: 1.578 MB / 1 GB, free: 2.703 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/2.468, allocations: 0.6437 MB / 1.001 GB, free: 2.062 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00476/2.473, allocations: 0.6414 MB / 1.001 GB, free: 1.293 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01986/2.493, allocations: 0.8719 MB / 1.002 GB, free: 416 kB / 0.7481 GB Notification: Performance of pre-optimization done (n=142): time 4.459e-06/2.493, allocations: 0 / 1.002 GB, free: 416 kB / 0.7481 GB Notification: Performance of matching and sorting (n=142): time 0.04675/2.54, allocations: 2.326 MB / 1.004 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003875/2.544, allocations: 197.2 kB / 1.005 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007099/2.551, allocations: 1.1 MB / 1.006 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002385/2.551, allocations: 53.7 kB / 1.006 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.01708/2.568, allocations: 0.729 MB / 1.006 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006228/2.569, allocations: 499.8 kB / 1.007 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005396/2.569, allocations: 259.5 kB / 1.007 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001479/2.569, allocations: 353.9 kB / 1.008 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01142/2.581, allocations: 0.4997 MB / 1.008 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/2.582, allocations: 0.6683 MB / 1.009 GB, free: 9.559 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0134/2.596, allocations: 1.173 MB / 1.01 GB, free: 8.355 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/2.596, allocations: 0 / 1.01 GB, free: 8.355 MB / 0.7637 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004125/2.6, allocations: 1.572 MB / 1.011 GB, free: 6.766 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/2.6, allocations: 8 kB / 1.011 GB, free: 6.758 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/2.6, allocations: 160 / 1.011 GB, free: 6.758 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002945/2.603, allocations: 150.3 kB / 1.011 GB, free: 6.602 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/2.604, allocations: 303.6 kB / 1.012 GB, free: 6.305 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0065/2.611, allocations: 4.542 MB / 1.016 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/2.613, allocations: 141.5 kB / 1.016 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/2.613, allocations: 55.97 kB / 1.016 GB, free: 1.148 MB / 0.7637 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.0009151/2.614, allocations: 426.9 kB / 1.017 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004797/2.614, allocations: 167 kB / 1.017 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004498/2.619, allocations: 1.797 MB / 1.019 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/2.619, allocations: 20.05 kB / 1.019 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/2.619, allocations: 7.922 kB / 1.019 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01442/2.633, allocations: 1.482 MB / 1.02 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02912/2.662, allocations: 3.503 MB / 1.024 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/2.662, allocations: 0 / 1.024 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/2.664, allocations: 299.6 kB / 1.024 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02148/2.685, allocations: 126.5 kB / 1.024 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002908/2.686, allocations: 39.97 kB / 1.024 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004534/2.69, allocations: 4.546 MB / 1.028 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/2.69, allocations: 7.922 kB / 1.028 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02238/2.713, allocations: 2.451 MB / 1.031 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008897/2.714, allocations: 439.5 kB / 1.031 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/2.714, allocations: 32 kB / 1.031 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/2.715, allocations: 89.95 kB / 1.031 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009523/2.725, allocations: 105.2 kB / 1.032 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/2.725, allocations: 63.95 kB / 1.032 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00121/2.726, allocations: 0.7539 MB / 1.032 GB, free: 216 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/2.726, allocations: 4 kB / 1.032 GB, free: 212 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00169/2.728, allocations: 0.639 MB / 1.033 GB, free: 15.57 MB / 0.795 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.05614/2.784, allocations: 0.747 MB / 1.034 GB, free: 15 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.04767/2.832, allocations: 1.655 MB / 1.035 GB, free: 13.3 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/2.832, allocations: 448 / 1.035 GB, free: 13.3 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002144/2.834, allocations: 1.074 MB / 1.036 GB, free: 12.19 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/2.837, allocations: 0.7028 MB / 1.037 GB, free: 11.52 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03497/2.872, allocations: 3.515 MB / 1.04 GB, free: 7.977 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/2.873, allocations: 1.39 MB / 1.042 GB, free: 6.551 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.03417/2.908, allocations: 464.4 kB / 1.042 GB, free: 6.09 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/2.908, allocations: 155.4 kB / 1.042 GB, free: 5.938 MB / 0.795 GB Notification: Performance of SimCode: time 6.11e-07/2.908, allocations: 0 / 1.042 GB, free: 5.938 MB / 0.795 GB Notification: Performance of Templates: time 0.7104/3.618, allocations: 31.8 MB / 1.073 GB, free: 6.543 MB / 0.8262 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)