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.004487/0.004487, allocations: 104.1 kB / 15.74 MB, free: 6.059 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.001066/0.001066, allocations: 196.2 kB / 16.68 MB, free: 5.969 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.175/2.175, allocations: 390.3 MB / 0.6648 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.89 kB / 0.9504 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7179/0.7193, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.1968/0.9161, allocations: 186.5 MB / 1.27 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01932/0.9354, allocations: 15.9 MB / 1.285 GB, free: 3.281 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/0.9374, allocations: 39.75 kB / 1.285 GB, free: 3.242 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.9392, allocations: 0.6829 MB / 1.286 GB, free: 2.555 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005423/0.9446, allocations: 2.203 MB / 1.288 GB, free: 356 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004193/0.9488, allocations: 1.808 MB / 1.29 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004117/0.953, allocations: 3.506 MB / 1.293 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.9554, allocations: 1.983 MB / 1.295 GB, free: 8.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003244/0.9587, allocations: 1.477 MB / 1.297 GB, free: 7.523 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.9605, allocations: 1.23 MB / 1.298 GB, free: 6.293 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003408/0.9608, allocations: 212 kB / 1.298 GB, free: 6.086 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003834/0.9647, allocations: 1.946 MB / 1.3 GB, free: 4.137 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005782/0.9653, allocations: 0.6581 MB / 1.301 GB, free: 3.477 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.9664, allocations: 1.12 MB / 1.302 GB, free: 2.352 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004675/0.971, allocations: 3.505 MB / 1.305 GB, free: 14.84 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.9711, allocations: 0 / 1.305 GB, free: 14.84 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9711, allocations: 0 / 1.305 GB, free: 14.84 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.741e-05/0.9711, allocations: 0 / 1.305 GB, free: 14.84 MB / 1.045 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.004278/0.9754, allocations: 2.53 MB / 1.308 GB, free: 12.24 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.9754, allocations: 12.03 kB / 1.308 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002668/0.9757, allocations: 240.6 kB / 1.308 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003233/0.979, allocations: 0.5164 MB / 1.308 GB, free: 11.46 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.981, allocations: 1.314 MB / 1.31 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.432e-05/0.9811, allocations: 123.3 kB / 1.31 GB, free: 9.973 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.9813, allocations: 163.9 kB / 1.31 GB, free: 9.812 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002879/0.9842, allocations: 1.864 MB / 1.312 GB, free: 7.871 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/0.9843, allocations: 0 / 1.312 GB, free: 7.871 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/0.9844, allocations: 72 kB / 1.312 GB, free: 7.801 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.769e-05/0.9845, allocations: 63.14 kB / 1.312 GB, free: 7.738 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003042/0.9875, allocations: 1.866 MB / 1.314 GB, free: 5.867 MB / 1.045 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.007878/0.9954, allocations: 6.247 MB / 1.32 GB, free: 15.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.998, allocations: 1.598 MB / 1.321 GB, free: 13.63 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.9991, allocations: 0.6475 MB / 1.322 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006386/0.9998, allocations: 0.6259 MB / 1.322 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/1.001, allocations: 0.8723 MB / 1.323 GB, free: 11.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=142): time 3.226e-06/1.001, allocations: 3.938 kB / 1.323 GB, free: 11.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=142): time 0.005495/1.007, allocations: 2.325 MB / 1.326 GB, free: 8.938 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/1.007, allocations: 197.2 kB / 1.326 GB, free: 8.703 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/1.008, allocations: 1.097 MB / 1.327 GB, free: 7.598 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/1.008, allocations: 53.7 kB / 1.327 GB, free: 7.539 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005883/1.009, allocations: 0.7198 MB / 1.328 GB, free: 6.809 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/1.009, allocations: 473.1 kB / 1.328 GB, free: 6.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003509/1.01, allocations: 238.8 kB / 1.328 GB, free: 6.102 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.01, allocations: 353.9 kB / 1.329 GB, free: 5.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009194/1.011, allocations: 486.4 kB / 1.329 GB, free: 5.273 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/1.012, allocations: 0.66 MB / 1.33 GB, free: 4.562 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/1.014, allocations: 1.154 MB / 1.331 GB, free: 3.383 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/1.014, allocations: 8 kB / 1.331 GB, free: 3.375 MB / 1.061 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003529/1.018, allocations: 1.509 MB / 1.332 GB, free: 1.848 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/1.018, allocations: 15.94 kB / 1.332 GB, free: 1.832 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.018, allocations: 0 / 1.332 GB, free: 1.832 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008116/1.018, allocations: 150.4 kB / 1.333 GB, free: 1.676 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/1.02, allocations: 291.6 kB / 1.333 GB, free: 1.391 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003999/1.024, allocations: 4.525 MB / 1.337 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/1.025, allocations: 146.6 kB / 1.337 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/1.025, allocations: 56.23 kB / 1.337 GB, free: 12.24 MB / 1.076 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.0008829/1.026, allocations: 422 kB / 1.338 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/1.027, allocations: 154.1 kB / 1.338 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/1.031, allocations: 1.804 MB / 1.34 GB, free: 9.844 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/1.031, allocations: 16 kB / 1.34 GB, free: 9.828 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.031, allocations: 0 / 1.34 GB, free: 9.828 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003008/1.034, allocations: 1.474 MB / 1.341 GB, free: 8.312 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006681/1.04, allocations: 3.507 MB / 1.345 GB, free: 4.738 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.04, allocations: 0 / 1.345 GB, free: 4.738 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/1.042, allocations: 299.6 kB / 1.345 GB, free: 4.445 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006272/1.042, allocations: 130.5 kB / 1.345 GB, free: 4.309 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/1.043, allocations: 39.97 kB / 1.345 GB, free: 4.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003674/1.046, allocations: 4.541 MB / 1.349 GB, free: 15.31 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.046, allocations: 0 / 1.349 GB, free: 15.31 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004722/1.051, allocations: 2.442 MB / 1.352 GB, free: 12.84 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000883/1.052, allocations: 438.6 kB / 1.352 GB, free: 12.39 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/1.052, allocations: 32 kB / 1.352 GB, free: 12.36 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/1.053, allocations: 93.03 kB / 1.352 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/1.054, allocations: 101.2 kB / 1.353 GB, free: 12.18 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/1.054, allocations: 64.08 kB / 1.353 GB, free: 12.11 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009915/1.055, allocations: 0.7619 MB / 1.353 GB, free: 11.35 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.31e-07/1.055, allocations: 0 / 1.353 GB, free: 11.35 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001515/1.056, allocations: 0.6157 MB / 1.354 GB, free: 10.73 MB / 1.092 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.006272/1.063, allocations: 3.641 MB / 1.357 GB, free: 7.242 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002908/1.065, allocations: 1.628 MB / 1.359 GB, free: 5.574 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.065, allocations: 4.438 kB / 1.359 GB, free: 5.566 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001609/1.067, allocations: 1.066 MB / 1.36 GB, free: 4.461 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/1.07, allocations: 0.7081 MB / 1.361 GB, free: 3.781 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/1.089, allocations: 11.45 MB / 1.372 GB, free: 8.125 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008845/1.09, allocations: 1.394 MB / 1.373 GB, free: 6.699 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001529/1.092, allocations: 476.3 kB / 1.374 GB, free: 6.227 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009358/1.093, allocations: 0.7218 MB / 1.374 GB, free: 5.504 MB / 1.107 GB Notification: Performance of SimCode: time 9.71e-07/1.093, allocations: 4 kB / 1.374 GB, free: 5.5 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08708/1.18, allocations: 43.24 MB / 1.417 GB, free: 10.8 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.76, allocations: 6.75 kB / 1.417 GB, free: 10.8 MB / 1.154 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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Airflow_Multizone_Examples_PressurizationData.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)