Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PressurizationData,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_PressurizationData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PressurizationData,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_PressurizationData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 103.3 kB / 15.06 MB, free: 1.098 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.001059/0.001059, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.366/2.366, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003938, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.698/0.6984, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.1762/0.8746, allocations: 155.4 MB / 1.105 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01981/0.8945, allocations: 13.8 MB / 1.119 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.8964, allocations: 35.81 kB / 1.119 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.8981, allocations: 0.5168 MB / 1.119 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006274/0.9044, allocations: 2.069 MB / 1.121 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003506/0.9079, allocations: 1.246 MB / 1.123 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003394/0.9113, allocations: 2.087 MB / 1.125 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/0.9133, allocations: 1.464 MB / 1.126 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.915, allocations: 1.105 MB / 1.127 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009582/0.916, allocations: 0.7893 MB / 1.128 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.9162, allocations: 60 kB / 1.128 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.9191, allocations: 1.135 MB / 1.129 GB, free: 12 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004619/0.9196, allocations: 446.4 kB / 1.129 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004433/0.9201, allocations: 392.6 kB / 1.13 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003582/0.9237, allocations: 2.451 MB / 1.132 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.9237, allocations: 0 / 1.132 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.885e-06/0.9237, allocations: 0 / 1.132 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.158e-05/0.9237, allocations: 4 kB / 1.132 GB, free: 8.707 MB / 0.8887 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.004802/0.9285, allocations: 2.125 MB / 1.134 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.9286, allocations: 8.031 kB / 1.134 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003746/0.929, allocations: 240.6 kB / 1.135 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003356/0.9324, allocations: 0.532 MB / 1.135 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.9345, allocations: 1.21 MB / 1.136 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.9346, allocations: 127.2 kB / 1.136 GB, free: 4.34 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.9349, allocations: 171.9 kB / 1.137 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/0.938, allocations: 1.833 MB / 1.138 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/0.9381, allocations: 0 / 1.138 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.9383, allocations: 79.95 kB / 1.138 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.321e-05/0.9384, allocations: 71.08 kB / 1.138 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003114/0.9415, allocations: 1.862 MB / 1.14 GB, free: 252 kB / 0.8887 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.009052/0.9506, allocations: 6.291 MB / 1.146 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.9532, allocations: 1.44 MB / 1.148 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005534/0.9538, allocations: 470.8 kB / 1.148 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001598/0.9554, allocations: 0.8686 MB / 1.149 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=142): time 2.966e-06/0.9554, allocations: 4 kB / 1.149 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of matching and sorting (n=142): time 0.0057/0.9611, allocations: 2.321 MB / 1.151 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.9613, allocations: 197.2 kB / 1.152 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.9629, allocations: 1.077 MB / 1.153 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.9631, allocations: 57.7 kB / 1.153 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006075/0.9637, allocations: 0.7199 MB / 1.153 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004543/0.9642, allocations: 481.1 kB / 1.154 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-05/0.9643, allocations: 24 kB / 1.154 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.9644, allocations: 353.9 kB / 1.154 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009268/0.9654, allocations: 482.3 kB / 1.155 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.9664, allocations: 0.6483 MB / 1.155 GB, free: 204 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.9675, allocations: 0.5647 MB / 1.156 GB, free: 15.63 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.9675, allocations: 0 / 1.156 GB, free: 15.63 MB / 0.92 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003214/0.9707, allocations: 1.509 MB / 1.157 GB, free: 14.11 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.9708, allocations: 4 kB / 1.157 GB, free: 14.1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.9708, allocations: 4 kB / 1.157 GB, free: 14.1 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007729/0.9716, allocations: 142.6 kB / 1.157 GB, free: 13.95 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.9729, allocations: 295.6 kB / 1.158 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/0.9767, allocations: 4.262 MB / 1.162 GB, free: 8.996 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.9783, allocations: 183.6 kB / 1.162 GB, free: 8.816 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.9785, allocations: 47.97 kB / 1.162 GB, free: 8.77 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008957/0.9794, allocations: 417.4 kB / 1.163 GB, free: 8.352 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/0.9797, allocations: 154.1 kB / 1.163 GB, free: 8.199 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003735/0.9834, allocations: 1.82 MB / 1.164 GB, free: 6.359 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.9834, allocations: 12 kB / 1.164 GB, free: 6.348 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.9834, allocations: 4 kB / 1.165 GB, free: 6.344 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002867/0.9863, allocations: 1.478 MB / 1.166 GB, free: 4.824 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005844/0.9922, allocations: 3.316 MB / 1.169 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.9922, allocations: 4 kB / 1.169 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.9936, allocations: 303.6 kB / 1.169 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006744/0.9942, allocations: 138.5 kB / 1.17 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.335e-05/0.9944, allocations: 39.97 kB / 1.17 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003834/0.9982, allocations: 4.269 MB / 1.174 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.9982, allocations: 8 kB / 1.174 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005035/1.003, allocations: 2.509 MB / 1.176 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.004, allocations: 442.7 kB / 1.177 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/1.005, allocations: 35.98 kB / 1.177 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/1.006, allocations: 143 kB / 1.177 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/1.006, allocations: 125 kB / 1.177 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/1.006, allocations: 63.97 kB / 1.177 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001126/1.008, allocations: 0.7424 MB / 1.178 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/1.008, allocations: 3.938 kB / 1.178 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00183/1.009, allocations: 0.6234 MB / 1.178 GB, free: 7.52 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007021/1.016, allocations: 3.97 MB / 1.182 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003342/1.02, allocations: 1.608 MB / 1.184 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.02, allocations: 448 / 1.184 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002036/1.022, allocations: 1.082 MB / 1.185 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003193/1.025, allocations: 0.6342 MB / 1.186 GB, free: 288 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/1.045, allocations: 11.32 MB / 1.197 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/1.047, allocations: 1.425 MB / 1.198 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001914/1.048, allocations: 460.5 kB / 1.198 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009753/1.049, allocations: 0.7296 MB / 1.199 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of SimCode: time 1.172e-06/1.049, allocations: 4 kB / 1.199 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07305/1.123, allocations: 43.22 MB / 1.241 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/1.123, allocations: 259.9 kB / 1.242 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.189/4.312, allocations: 3.938 kB / 1.242 GB, free: 6.883 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_PressurizationData_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_PressurizationData.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)