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.004827/0.004827, allocations: 96.72 kB / 15.73 MB, free: 6 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.001118/0.001118, allocations: 185.7 kB / 16.67 MB, free: 5.93 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.429/2.429, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2587, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.7028/0.9615, allocations: 187.3 MB / 1.349 GB, free: 5.066 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01947/0.981, allocations: 15.99 MB / 1.365 GB, free: 9.656 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.9828, allocations: 43.03 kB / 1.365 GB, free: 9.641 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.9845, allocations: 0.7397 MB / 1.365 GB, free: 9.203 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005821/0.9904, allocations: 2.322 MB / 1.368 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004362/0.9947, allocations: 1.826 MB / 1.369 GB, free: 6.926 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004337/0.9991, allocations: 3.637 MB / 1.373 GB, free: 4.785 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002336/1.001, allocations: 1.922 MB / 1.375 GB, free: 3.539 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003105/1.005, allocations: 1.546 MB / 1.376 GB, free: 2.656 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/1.006, allocations: 1.255 MB / 1.378 GB, free: 1.844 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003019/1.006, allocations: 213.9 kB / 1.378 GB, free: 1.844 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003824/1.01, allocations: 1.945 MB / 1.38 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005615/1.011, allocations: 0.6475 MB / 1.38 GB, free: 400 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/1.012, allocations: 1.152 MB / 1.381 GB, free: 15.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004399/1.016, allocations: 3.561 MB / 1.385 GB, free: 13.17 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.016, allocations: 0 / 1.385 GB, free: 13.17 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.312e-06/1.016, allocations: 0 / 1.385 GB, free: 13.17 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.383e-05/1.016, allocations: 0 / 1.385 GB, free: 13.17 MB / 1.061 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.004005/1.02, allocations: 2.616 MB / 1.388 GB, free: 11.22 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/1.02, allocations: 10.47 kB / 1.388 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002609/1.021, allocations: 242.6 kB / 1.388 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/1.024, allocations: 0.528 MB / 1.388 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/1.026, allocations: 1.329 MB / 1.39 GB, free: 9.754 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.416e-05/1.026, allocations: 126.9 kB / 1.39 GB, free: 9.695 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/1.026, allocations: 159 kB / 1.39 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/1.029, allocations: 1.861 MB / 1.392 GB, free: 8.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/1.029, allocations: 3.938 kB / 1.392 GB, free: 8.477 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/1.029, allocations: 75.81 kB / 1.392 GB, free: 8.422 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.172e-05/1.029, allocations: 65.02 kB / 1.392 GB, free: 8.414 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002785/1.032, allocations: 1.869 MB / 1.394 GB, free: 7.512 MB / 1.061 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.007432/1.039, allocations: 6.537 MB / 1.4 GB, free: 1.965 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/1.042, allocations: 1.579 MB / 1.402 GB, free: 1.066 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009695/1.043, allocations: 0.6538 MB / 1.402 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006327/1.043, allocations: 0.6274 MB / 1.403 GB, free: 36 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001381/1.045, allocations: 0.8573 MB / 1.404 GB, free: 15.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=142): time 3.326e-06/1.045, allocations: 4 kB / 1.404 GB, free: 15.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=142): time 0.005045/1.05, allocations: 2.34 MB / 1.406 GB, free: 14.18 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.131e-05/1.05, allocations: 196.2 kB / 1.406 GB, free: 13.96 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/1.051, allocations: 1.092 MB / 1.407 GB, free: 13.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/1.051, allocations: 57.7 kB / 1.407 GB, free: 13.07 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005866/1.052, allocations: 0.733 MB / 1.408 GB, free: 12.33 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004906/1.052, allocations: 0.4919 MB / 1.408 GB, free: 11.84 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004613/1.053, allocations: 242.8 kB / 1.409 GB, free: 11.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001791/1.053, allocations: 353.9 kB / 1.409 GB, free: 11.24 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/1.054, allocations: 486.4 kB / 1.409 GB, free: 10.77 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/1.055, allocations: 0.656 MB / 1.41 GB, free: 10.06 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002102/1.057, allocations: 1.154 MB / 1.411 GB, free: 8.879 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.057, allocations: 0 / 1.411 GB, free: 8.879 MB / 1.076 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003153/1.061, allocations: 1.525 MB / 1.413 GB, free: 7.336 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.061, allocations: 15.94 kB / 1.413 GB, free: 7.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.061, allocations: 3.938 kB / 1.413 GB, free: 7.316 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007274/1.061, allocations: 142.5 kB / 1.413 GB, free: 7.168 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/1.062, allocations: 295.6 kB / 1.413 GB, free: 6.879 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004051/1.067, allocations: 4.545 MB / 1.418 GB, free: 1.906 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/1.068, allocations: 141.3 kB / 1.418 GB, free: 1.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/1.068, allocations: 47.97 kB / 1.418 GB, free: 1.723 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.0007572/1.069, allocations: 421.7 kB / 1.418 GB, free: 1.301 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003541/1.069, allocations: 163 kB / 1.418 GB, free: 1.141 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/1.073, allocations: 1.805 MB / 1.42 GB, free: 15.32 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/1.073, allocations: 16 kB / 1.42 GB, free: 15.3 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.073, allocations: 0 / 1.42 GB, free: 15.3 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002804/1.076, allocations: 1.478 MB / 1.422 GB, free: 13.78 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006024/1.082, allocations: 3.511 MB / 1.425 GB, free: 10.2 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.082, allocations: 0 / 1.425 GB, free: 10.2 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/1.083, allocations: 295.6 kB / 1.425 GB, free: 9.914 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005819/1.084, allocations: 130.5 kB / 1.425 GB, free: 9.777 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/1.084, allocations: 43.91 kB / 1.425 GB, free: 9.734 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003731/1.088, allocations: 4.542 MB / 1.43 GB, free: 4.773 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.088, allocations: 0 / 1.43 GB, free: 4.773 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004436/1.092, allocations: 2.451 MB / 1.432 GB, free: 2.297 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000822/1.093, allocations: 447.6 kB / 1.433 GB, free: 1.84 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/1.093, allocations: 28 kB / 1.433 GB, free: 1.812 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/1.094, allocations: 86.55 kB / 1.433 GB, free: 1.73 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/1.094, allocations: 105.2 kB / 1.433 GB, free: 1.629 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/1.095, allocations: 67.95 kB / 1.433 GB, free: 1.562 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001059/1.096, allocations: 0.758 MB / 1.434 GB, free: 0.8008 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.3e-07/1.096, allocations: 0 / 1.434 GB, free: 0.8008 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001576/1.097, allocations: 0.6391 MB / 1.434 GB, free: 164 kB / 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.006253/1.104, allocations: 3.66 MB / 1.438 GB, free: 12.65 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002802/1.106, allocations: 1.616 MB / 1.439 GB, free: 11 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.106, allocations: 4.438 kB / 1.439 GB, free: 10.99 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001627/1.108, allocations: 1.077 MB / 1.441 GB, free: 9.875 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002936/1.111, allocations: 0.7054 MB / 1.441 GB, free: 9.191 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/1.13, allocations: 11.42 MB / 1.452 GB, free: 13.57 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/1.131, allocations: 1.394 MB / 1.454 GB, free: 12.14 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001613/1.133, allocations: 464.6 kB / 1.454 GB, free: 11.68 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/1.134, allocations: 0.7336 MB / 1.455 GB, free: 10.95 MB / 1.123 GB Notification: Performance of SimCode: time 5.81e-07/1.134, allocations: 0 / 1.455 GB, free: 10.95 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08337/1.217, allocations: 43.82 MB / 1.498 GB, free: 15.62 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.86, allocations: 14.58 kB / 1.498 GB, free: 15.61 MB / 1.17 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)