Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PressurizationData,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PressurizationData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PressurizationData,fileNamePrefix="Buildings_latest_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.001608/0.001608, allocations: 108 kB / 15.6 MB, free: 132 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.002089/0.002089, allocations: 196 kB / 16.54 MB, free: 6.672 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.484/1.484, 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 11.0.1-master/package.mo): time 3.124/3.124, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 68.08 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.462/0.4636, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.2497/0.7133, allocations: 187.3 MB / 1.236 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 1.139/1.853, allocations: 15.98 MB / 1.251 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004165/1.857, allocations: 43.84 kB / 1.251 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003596/1.861, allocations: 0.7041 MB / 1.252 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01097/1.872, allocations: 2.268 MB / 1.254 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009018/1.881, allocations: 1.807 MB / 1.256 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0108/1.892, allocations: 3.612 MB / 1.26 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006523/1.898, allocations: 1.932 MB / 1.262 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009257/1.908, allocations: 1.483 MB / 1.263 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005917/1.914, allocations: 1.252 MB / 1.264 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00194/1.916, allocations: 215.2 kB / 1.264 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/1.926, allocations: 1.909 MB / 1.266 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003349/1.93, allocations: 0.6509 MB / 1.267 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007756/1.938, allocations: 1.142 MB / 1.268 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01759/1.955, allocations: 3.493 MB / 1.271 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.817e-05/1.955, allocations: 0.9375 kB / 1.271 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.727e-06/1.956, allocations: 0 / 1.271 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003234/1.956, allocations: 0.8438 kB / 1.271 GB, free: 1.922 MB / 0.9981 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.01709/1.973, allocations: 2.546 MB / 1.274 GB, free: 16.71 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 9.701e-05/1.973, allocations: 10.97 kB / 1.274 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001915/1.975, allocations: 239.7 kB / 1.274 GB, free: 16.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006465/1.982, allocations: 0.521 MB / 1.275 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006834/1.988, allocations: 1.26 MB / 1.276 GB, free: 16.13 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004204/1.989, allocations: 124.3 kB / 1.276 GB, free: 16.12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001402/1.99, allocations: 164.7 kB / 1.276 GB, free: 16.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009036/1.999, allocations: 1.857 MB / 1.278 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001525/2, allocations: 4.094 kB / 1.278 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008219/2, allocations: 75.5 kB / 1.278 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001731/2.001, allocations: 67.89 kB / 1.278 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006065/2.007, allocations: 1.871 MB / 1.28 GB, free: 15.86 MB / 1.014 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.01408/2.021, allocations: 6.587 MB / 1.286 GB, free: 12.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003375/2.024, allocations: 1.583 MB / 1.288 GB, free: 12.47 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/2.026, allocations: 0.65 MB / 1.289 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009542/2.027, allocations: 0.6269 MB / 1.289 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002147/2.029, allocations: 0.8707 MB / 1.29 GB, free: 11.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=142): time 9.628e-06/2.029, allocations: 0.9688 kB / 1.29 GB, free: 11.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=142): time 0.007761/2.037, allocations: 2.335 MB / 1.292 GB, free: 11.26 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/2.037, allocations: 196.6 kB / 1.292 GB, free: 11.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003347/2.04, allocations: 1.091 MB / 1.294 GB, free: 10.89 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004274/2.041, allocations: 56.86 kB / 1.294 GB, free: 10.86 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001138/2.042, allocations: 0.7142 MB / 1.294 GB, free: 10.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009169/2.043, allocations: 483.5 kB / 1.295 GB, free: 10.27 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007675/2.044, allocations: 236.9 kB / 1.295 GB, free: 10.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002393/2.044, allocations: 355 kB / 1.295 GB, free: 9.945 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/2.045, allocations: 482.8 kB / 1.296 GB, free: 9.941 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/2.047, allocations: 0.6627 MB / 1.296 GB, free: 9.801 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00331/2.05, allocations: 1.154 MB / 1.298 GB, free: 9.707 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/2.05, allocations: 0 / 1.298 GB, free: 9.707 MB / 1.014 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004824/2.055, allocations: 1.519 MB / 1.299 GB, free: 9.535 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.154e-05/2.055, allocations: 6.469 kB / 1.299 GB, free: 9.535 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/2.055, allocations: 2.562 kB / 1.299 GB, free: 9.535 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/2.056, allocations: 147.6 kB / 1.299 GB, free: 9.508 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/2.058, allocations: 297.8 kB / 1.299 GB, free: 9.508 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005032/2.063, allocations: 4.543 MB / 1.304 GB, free: 5.434 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/2.065, allocations: 139 kB / 1.304 GB, free: 5.375 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/2.065, allocations: 49.47 kB / 1.304 GB, free: 5.375 MB / 1.014 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.001487/2.067, allocations: 421 kB / 1.304 GB, free: 5.254 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000872/2.068, allocations: 158.9 kB / 1.305 GB, free: 5.176 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004669/2.073, allocations: 1.8 MB / 1.306 GB, free: 5.035 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/2.073, allocations: 17.09 kB / 1.306 GB, free: 5.035 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/2.073, allocations: 3 kB / 1.306 GB, free: 5.035 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003151/2.076, allocations: 1.489 MB / 1.308 GB, free: 4.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008985/2.085, allocations: 3.495 MB / 1.311 GB, free: 4.406 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/2.085, allocations: 0 / 1.311 GB, free: 4.406 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/2.086, allocations: 295.6 kB / 1.312 GB, free: 4.406 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006886/2.087, allocations: 137.1 kB / 1.312 GB, free: 4.379 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/2.087, allocations: 41.67 kB / 1.312 GB, free: 4.379 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004767/2.092, allocations: 4.543 MB / 1.316 GB, free: 312 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/2.092, allocations: 0 / 1.316 GB, free: 312 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006127/2.098, allocations: 2.434 MB / 1.319 GB, free: 28 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/2.1, allocations: 437.8 kB / 1.319 GB, free: 15.83 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007618/2.1, allocations: 30.62 kB / 1.319 GB, free: 15.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/2.102, allocations: 93.77 kB / 1.319 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/2.103, allocations: 110 kB / 1.319 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001856/2.103, allocations: 62.67 kB / 1.319 GB, free: 15.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001615/2.104, allocations: 0.7602 MB / 1.32 GB, free: 15.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.31e-07/2.104, allocations: 0 / 1.32 GB, free: 15.71 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002933/2.107, allocations: 0.6357 MB / 1.321 GB, free: 15.61 MB / 1.029 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.008237/2.116, allocations: 3.641 MB / 1.324 GB, free: 14.65 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005381/2.121, allocations: 2.142 MB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/2.121, allocations: 3.812 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001904/2.123, allocations: 1.071 MB / 1.327 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004496/2.128, allocations: 0.7153 MB / 1.328 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03774/2.165, allocations: 12.21 MB / 1.34 GB, free: 9.633 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002517/2.168, allocations: 1.396 MB / 1.341 GB, free: 8.895 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.004012/2.172, allocations: 471.7 kB / 1.342 GB, free: 8.758 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002139/2.174, allocations: 0.7275 MB / 1.342 GB, free: 8.746 MB / 1.029 GB Notification: Performance of SimCode: time 2.455e-06/2.174, allocations: 0 / 1.342 GB, free: 8.746 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1477/2.322, allocations: 43.42 MB / 1.385 GB, free: 9.012 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/15.31, allocations: 13.48 kB / 1.385 GB, free: 9 MB / 1.061 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_PressurizationData_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_PressurizationData.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)