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.001277/0.001277, 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.001374/0.001374, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.252/1.252, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.404/2.404, allocations: 437.1 MB / 0.7104 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001592, allocations: 63.91 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5655/0.5671, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.1681/0.7352, allocations: 187.3 MB / 1.2 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01905/0.7543, allocations: 15.98 MB / 1.216 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.7559, allocations: 43.75 kB / 1.216 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002114/0.7581, allocations: 0.7099 MB / 1.217 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005453/0.7636, allocations: 2.27 MB / 1.219 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004012/0.7676, allocations: 1.806 MB / 1.221 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003712/0.7713, allocations: 3.611 MB / 1.224 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002395/0.7737, allocations: 1.933 MB / 1.226 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002875/0.7766, allocations: 1.488 MB / 1.228 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.778, allocations: 1.251 MB / 1.229 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002795/0.7783, allocations: 216 kB / 1.229 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003078/0.7814, allocations: 1.91 MB / 1.231 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004988/0.7819, allocations: 0.6504 MB / 1.231 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009495/0.7828, allocations: 1.139 MB / 1.233 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003563/0.7864, allocations: 3.494 MB / 1.236 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7864, allocations: 0 / 1.236 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7864, allocations: 0 / 1.236 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.764e-05/0.7865, allocations: 4 kB / 1.236 GB, free: 1.832 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.003852/0.7903, allocations: 2.542 MB / 1.238 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.7904, allocations: 8.031 kB / 1.238 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002487/0.7906, allocations: 244.6 kB / 1.239 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/0.7937, allocations: 0.5204 MB / 1.239 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.7954, allocations: 1.267 MB / 1.24 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.974e-05/0.7955, allocations: 127.3 kB / 1.241 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/0.7957, allocations: 164 kB / 1.241 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/0.7984, allocations: 1.856 MB / 1.243 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.7984, allocations: 7.938 kB / 1.243 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.7986, allocations: 72 kB / 1.243 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.663e-05/0.7986, allocations: 67.14 kB / 1.243 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002815/0.8014, allocations: 1.87 MB / 1.244 GB, free: 8.883 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.00713/0.8086, allocations: 6.573 MB / 1.251 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/0.811, allocations: 1.597 MB / 1.252 GB, free: 272 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4038/1.215, allocations: 0.6411 MB / 1.253 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006004/1.216, allocations: 0.6293 MB / 1.254 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001597/1.217, allocations: 0.8733 MB / 1.255 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=142): time 3.357e-06/1.217, allocations: 0 / 1.255 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=142): time 0.005732/1.223, allocations: 2.33 MB / 1.257 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/1.223, allocations: 196.4 kB / 1.257 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/1.225, allocations: 1.093 MB / 1.258 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001846/1.225, allocations: 59.62 kB / 1.258 GB, free: 230 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000487/1.225, allocations: 0.7172 MB / 1.259 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/1.226, allocations: 476 kB / 1.259 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003711/1.226, allocations: 237.2 kB / 1.26 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.293e-05/1.226, allocations: 353.5 kB / 1.26 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009132/1.227, allocations: 484.2 kB / 1.26 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/1.228, allocations: 0.6643 MB / 1.261 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/1.23, allocations: 1.154 MB / 1.262 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/1.23, allocations: 2.625 kB / 1.262 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003316/1.234, allocations: 1.512 MB / 1.264 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.234, allocations: 10.67 kB / 1.264 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.234, allocations: 2.156 kB / 1.264 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008114/1.234, allocations: 147.9 kB / 1.264 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/1.236, allocations: 296 kB / 1.264 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003333/1.239, allocations: 4.534 MB / 1.268 GB, free: 222.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/1.24, allocations: 141.9 kB / 1.269 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/1.241, allocations: 50.2 kB / 1.269 GB, free: 222.6 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.0007305/1.241, allocations: 420.9 kB / 1.269 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003243/1.242, allocations: 155.7 kB / 1.269 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003759/1.245, allocations: 1.805 MB / 1.271 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/1.245, allocations: 17.56 kB / 1.271 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.245, allocations: 2.766 kB / 1.271 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002925/1.248, allocations: 1.485 MB / 1.272 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005783/1.254, allocations: 3.49 MB / 1.276 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.254, allocations: 0 / 1.276 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/1.256, allocations: 298.3 kB / 1.276 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005764/1.256, allocations: 132.8 kB / 1.276 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.003e-05/1.256, allocations: 42.94 kB / 1.276 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002914/1.259, allocations: 4.547 MB / 1.281 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.259, allocations: 0 / 1.281 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004204/1.263, allocations: 2.445 MB / 1.283 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005778/1.264, allocations: 431.5 kB / 1.284 GB, free: 213.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/1.264, allocations: 29.41 kB / 1.284 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/1.265, allocations: 86.72 kB / 1.284 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/1.266, allocations: 113.8 kB / 1.284 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/1.266, allocations: 62.75 kB / 1.284 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009275/1.267, allocations: 0.7589 MB / 1.285 GB, free: 213.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.267, allocations: 2.406 kB / 1.285 GB, free: 213.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001518/1.268, allocations: 0.6275 MB / 1.285 GB, free: 213 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.005338/1.273, allocations: 3.653 MB / 1.289 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004177/1.278, allocations: 2.143 MB / 1.291 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.278, allocations: 4.125 kB / 1.291 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/1.279, allocations: 1.07 MB / 1.292 GB, free: 210 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/1.282, allocations: 0.7087 MB / 1.293 GB, free: 209.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/1.296, allocations: 12.19 MB / 1.304 GB, free: 197.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/1.297, allocations: 1.398 MB / 1.306 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001572/1.298, allocations: 476.5 kB / 1.306 GB, free: 196 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007642/1.299, allocations: 0.7373 MB / 1.307 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/1.299, allocations: 0 / 1.307 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07012/1.369, allocations: 43.42 MB / 1.349 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.85, allocations: 15.09 kB / 1.349 GB, free: 152.4 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData_res.csv --start-time 0 --stop-time 2.592e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1036.8 Buildings_10_Buildings_Airflow_Multizone_Examples_PressurizationData.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)