Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_PressurizationData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PressurizationData,fileNamePrefix="Buildings_10_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.001168/0.001168, allocations: 108 kB / 15.61 MB, free: 148 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.001109/0.001109, allocations: 192.9 kB / 16.53 MB, free: 6.691 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.14/1.14, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.164/2.164, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.88 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4919/0.4931, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.1621/0.6552, allocations: 187.3 MB / 1.2 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01762/0.6729, allocations: 15.99 MB / 1.216 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.6741, allocations: 39.75 kB / 1.216 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.6757, allocations: 0.7138 MB / 1.217 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004623/0.6804, allocations: 2.266 MB / 1.219 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.6837, allocations: 1.806 MB / 1.221 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003214/0.6869, allocations: 3.619 MB / 1.224 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.6889, allocations: 1.929 MB / 1.226 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.6913, allocations: 1.49 MB / 1.227 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.6926, allocations: 1.241 MB / 1.229 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002729/0.6928, allocations: 216 kB / 1.229 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.6956, allocations: 1.918 MB / 1.231 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005105/0.6962, allocations: 0.6503 MB / 1.231 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009117/0.6971, allocations: 1.143 MB / 1.233 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003197/0.7003, allocations: 3.494 MB / 1.236 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.7003, allocations: 0 / 1.236 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7003, allocations: 0 / 1.236 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.753e-05/0.7003, allocations: 0 / 1.236 GB, free: 1.84 MB / 0.9825 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.003608/0.7039, allocations: 2.546 MB / 1.238 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.704, allocations: 8.031 kB / 1.238 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002491/0.7042, allocations: 240.6 kB / 1.239 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/0.7072, allocations: 0.5126 MB / 1.239 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.7088, allocations: 1.275 MB / 1.24 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.085e-05/0.7089, allocations: 127.3 kB / 1.241 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.7091, allocations: 167.9 kB / 1.241 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/0.7117, allocations: 1.853 MB / 1.243 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.7117, allocations: 0 / 1.243 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.7119, allocations: 79.98 kB / 1.243 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.363e-05/0.7119, allocations: 59.16 kB / 1.243 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002776/0.7147, allocations: 1.87 MB / 1.244 GB, free: 8.898 MB / 0.9981 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.00707/0.7218, allocations: 6.578 MB / 1.251 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.7242, allocations: 1.597 MB / 1.252 GB, free: 284 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3968/1.121, allocations: 0.6438 MB / 1.253 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005743/1.122, allocations: 0.626 MB / 1.254 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001532/1.123, allocations: 0.8683 MB / 1.255 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=142): time 3.086e-06/1.123, allocations: 0 / 1.255 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=142): time 0.00553/1.129, allocations: 2.328 MB / 1.257 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/1.129, allocations: 197.3 kB / 1.257 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/1.13, allocations: 1.097 MB / 1.258 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/1.131, allocations: 55.48 kB / 1.258 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005032/1.131, allocations: 0.7166 MB / 1.259 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/1.131, allocations: 475.9 kB / 1.259 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003796/1.132, allocations: 238 kB / 1.26 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.063e-05/1.132, allocations: 353.7 kB / 1.26 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009222/1.133, allocations: 487.8 kB / 1.26 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/1.134, allocations: 0.6625 MB / 1.261 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/1.136, allocations: 1.153 MB / 1.262 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.136, allocations: 0.5625 kB / 1.262 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003277/1.139, allocations: 1.509 MB / 1.264 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/1.139, allocations: 10.94 kB / 1.264 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.139, allocations: 2.031 kB / 1.264 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007816/1.14, allocations: 154 kB / 1.264 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.141, allocations: 291 kB / 1.264 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003326/1.145, allocations: 4.544 MB / 1.268 GB, free: 222.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/1.146, allocations: 142.2 kB / 1.269 GB, free: 222.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/1.146, allocations: 49.22 kB / 1.269 GB, free: 222.7 MB / 0.9981 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.0007157/1.147, allocations: 421.7 kB / 1.269 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/1.147, allocations: 155.4 kB / 1.269 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003574/1.151, allocations: 1.803 MB / 1.271 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/1.151, allocations: 15.47 kB / 1.271 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.151, allocations: 2.266 kB / 1.271 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002608/1.153, allocations: 1.485 MB / 1.272 GB, free: 221 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004984/1.158, allocations: 3.486 MB / 1.276 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/1.158, allocations: 0 / 1.276 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/1.16, allocations: 303.4 kB / 1.276 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005482/1.16, allocations: 127.8 kB / 1.276 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.561e-05/1.16, allocations: 47.12 kB / 1.276 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/1.163, allocations: 4.547 MB / 1.281 GB, free: 215 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/1.163, allocations: 0 / 1.281 GB, free: 215 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003903/1.167, allocations: 2.446 MB / 1.283 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005135/1.167, allocations: 427.2 kB / 1.283 GB, free: 213.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/1.168, allocations: 33.06 kB / 1.284 GB, free: 213.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/1.169, allocations: 89.97 kB / 1.284 GB, free: 213.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/1.169, allocations: 109.3 kB / 1.284 GB, free: 213.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/1.169, allocations: 66 kB / 1.284 GB, free: 213.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008281/1.17, allocations: 0.7551 MB / 1.285 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.17, allocations: 0 / 1.285 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001299/1.171, allocations: 0.6393 MB / 1.285 GB, free: 213.1 MB / 0.9981 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.004949/1.176, allocations: 3.638 MB / 1.289 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00378/1.18, allocations: 2.149 MB / 1.291 GB, free: 210.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.18, allocations: 4.062 kB / 1.291 GB, free: 210.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/1.181, allocations: 1.069 MB / 1.292 GB, free: 210.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/1.184, allocations: 0.7152 MB / 1.293 GB, free: 209.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/1.197, allocations: 12.2 MB / 1.304 GB, free: 198 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/1.198, allocations: 1.396 MB / 1.306 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001334/1.199, allocations: 468.6 kB / 1.306 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006894/1.2, allocations: 0.7218 MB / 1.307 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/1.2, allocations: 0 / 1.307 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.044/2.243, allocations: 43.43 MB / 1.349 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/15.64, allocations: 16 kB / 1.349 GB, free: 152.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_PressurizationData_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_PressurizationData.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)