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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0009953/0.0009953, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009704/0.0009704, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.181/1.181, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.08/2.08, allocations: 390.2 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7134/0.7147, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.175/0.8897, allocations: 186.5 MB / 1.132 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01894/0.9087, allocations: 15.92 MB / 1.147 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.9103, allocations: 43.75 kB / 1.147 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.912, allocations: 0.6829 MB / 1.148 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005056/0.9171, allocations: 2.206 MB / 1.15 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003911/0.921, allocations: 1.792 MB / 1.152 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003583/0.9246, allocations: 3.493 MB / 1.155 GB, free: 14.48 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002138/0.9267, allocations: 1.979 MB / 1.157 GB, free: 12.44 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002631/0.9294, allocations: 1.465 MB / 1.159 GB, free: 10.99 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.9308, allocations: 1.236 MB / 1.16 GB, free: 9.754 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002794/0.9311, allocations: 216 kB / 1.16 GB, free: 9.543 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003441/0.9345, allocations: 1.91 MB / 1.162 GB, free: 7.629 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005503/0.9351, allocations: 0.6504 MB / 1.163 GB, free: 6.977 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009724/0.9361, allocations: 1.12 MB / 1.164 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004215/0.9403, allocations: 3.443 MB / 1.167 GB, free: 2.398 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.9403, allocations: 3.938 kB / 1.167 GB, free: 2.395 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.02e-07/0.9403, allocations: 0 / 1.167 GB, free: 2.395 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.283e-05/0.9404, allocations: 0 / 1.167 GB, free: 2.395 MB / 0.92 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.003927/0.9443, allocations: 2.523 MB / 1.17 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.9443, allocations: 19.97 kB / 1.17 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002444/0.9446, allocations: 244.6 kB / 1.17 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003089/0.9477, allocations: 0.5165 MB / 1.17 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.9495, allocations: 1.267 MB / 1.172 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-05/0.9495, allocations: 127.3 kB / 1.172 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/0.9497, allocations: 163.9 kB / 1.172 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/0.9524, allocations: 1.864 MB / 1.174 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.9524, allocations: 0 / 1.174 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.9526, allocations: 72 kB / 1.174 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.534e-05/0.9526, allocations: 63.14 kB / 1.174 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002809/0.9555, allocations: 1.874 MB / 1.176 GB, free: 9.457 MB / 0.9356 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.007352/0.9628, allocations: 6.305 MB / 1.182 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/0.9653, allocations: 1.587 MB / 1.183 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000999/0.9663, allocations: 0.6476 MB / 1.184 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006787/0.967, allocations: 0.6298 MB / 1.185 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/0.9684, allocations: 0.8723 MB / 1.185 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=142): time 3.216e-06/0.9684, allocations: 0 / 1.185 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=142): time 0.005109/0.9735, allocations: 2.318 MB / 1.188 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.9736, allocations: 201.2 kB / 1.188 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.975, allocations: 1.089 MB / 1.189 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.802e-05/0.9751, allocations: 53.7 kB / 1.189 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000558/0.9756, allocations: 0.72 MB / 1.19 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/0.976, allocations: 477 kB / 1.19 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003601/0.9763, allocations: 234.8 kB / 1.19 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.9765, allocations: 361.9 kB / 1.191 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008635/0.9774, allocations: 490.3 kB / 1.191 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.9784, allocations: 0.6532 MB / 1.192 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/0.9803, allocations: 1.154 MB / 1.193 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.9804, allocations: 0 / 1.193 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002983/0.9833, allocations: 1.513 MB / 1.194 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.9834, allocations: 9.344 kB / 1.195 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.9834, allocations: 4 kB / 1.195 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007437/0.9841, allocations: 146.6 kB / 1.195 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.9854, allocations: 299.6 kB / 1.195 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003841/0.9892, allocations: 4.537 MB / 1.199 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.9904, allocations: 134.8 kB / 1.199 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.126e-05/0.9905, allocations: 60.03 kB / 1.2 GB, free: 15.8 MB / 0.9669 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 (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 (154): * Single equations (assignments): 151 * 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.0007275/0.9913, allocations: 421.5 kB / 1.2 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/0.9915, allocations: 158.1 kB / 1.2 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003586/0.9951, allocations: 1.812 MB / 1.202 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.9951, allocations: 12 kB / 1.202 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9951, allocations: 4 kB / 1.202 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002765/0.9979, allocations: 1.482 MB / 1.203 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005447/1.003, allocations: 3.503 MB / 1.207 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.003, allocations: 0 / 1.207 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/1.005, allocations: 299.6 kB / 1.207 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006015/1.005, allocations: 134.4 kB / 1.207 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.641e-05/1.005, allocations: 39.97 kB / 1.207 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003733/1.009, allocations: 4.541 MB / 1.212 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.009, allocations: 0 / 1.212 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004384/1.014, allocations: 2.436 MB / 1.214 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006669/1.014, allocations: 430.8 kB / 1.214 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/1.014, allocations: 31.91 kB / 1.214 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/1.016, allocations: 98.25 kB / 1.215 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/1.016, allocations: 109.1 kB / 1.215 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/1.016, allocations: 59.97 kB / 1.215 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001004/1.017, allocations: 0.758 MB / 1.215 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/1.017, allocations: 0 / 1.215 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00156/1.019, allocations: 0.6235 MB / 1.216 GB, free: 14.27 MB / 0.9825 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.006133/1.025, allocations: 3.631 MB / 1.22 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004558/1.029, allocations: 2.147 MB / 1.222 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.029, allocations: 4.438 kB / 1.222 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001594/1.031, allocations: 1.077 MB / 1.223 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/1.034, allocations: 0.6945 MB / 1.223 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/1.053, allocations: 12.33 MB / 1.235 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/1.055, allocations: 1.397 MB / 1.237 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001899/1.057, allocations: 468.4 kB / 1.237 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/1.058, allocations: 0.7296 MB / 1.238 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/1.058, allocations: 0 / 1.238 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4709/1.529, allocations: 42.85 MB / 1.28 GB, free: 268.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.9, allocations: 11.59 kB / 1.28 GB, free: 268.2 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/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)