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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.008617/0.008617, allocations: 102.1 kB / 15.73 MB, free: 5.516 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.002291/0.002291, allocations: 202.1 kB / 16.68 MB, free: 5.445 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.4 MB, free: 4.129 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.974/2.974, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 72.11 kB / 1.083 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3367, allocations: 162.2 MB / 1.241 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.8432/1.18, allocations: 187.3 MB / 1.424 GB, free: 8.402 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02572/1.206, allocations: 15.99 MB / 1.44 GB, free: 11.46 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002055/1.208, allocations: 48.56 kB / 1.44 GB, free: 11.44 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002369/1.21, allocations: 0.7039 MB / 1.441 GB, free: 10.84 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.007185/1.217, allocations: 2.262 MB / 1.443 GB, free: 9.102 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005465/1.223, allocations: 1.824 MB / 1.445 GB, free: 7.566 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005312/1.228, allocations: 3.615 MB / 1.448 GB, free: 3.934 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003065/1.231, allocations: 1.935 MB / 1.45 GB, free: 1.941 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004552/1.236, allocations: 1.68 MB / 1.452 GB, free: 292 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002399/1.238, allocations: 1.238 MB / 1.453 GB, free: 15.04 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004108/1.239, allocations: 216 kB / 1.453 GB, free: 14.83 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004472/1.243, allocations: 1.942 MB / 1.455 GB, free: 12.89 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.00069/1.244, allocations: 0.6465 MB / 1.456 GB, free: 12.24 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001422/1.245, allocations: 1.147 MB / 1.457 GB, free: 11.09 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.006452/1.252, allocations: 3.569 MB / 1.46 GB, free: 7.508 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.252, allocations: 3.938 kB / 1.46 GB, free: 7.504 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.593e-06/1.252, allocations: 0 / 1.46 GB, free: 7.504 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.872e-05/1.252, allocations: 0 / 1.46 GB, free: 7.504 MB / 1.154 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.005058/1.257, allocations: 2.616 MB / 1.463 GB, free: 4.82 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.257, allocations: 12.03 kB / 1.463 GB, free: 4.809 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003179/1.257, allocations: 244.6 kB / 1.463 GB, free: 4.559 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003512/1.261, allocations: 0.5294 MB / 1.464 GB, free: 4.027 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/1.263, allocations: 1.323 MB / 1.465 GB, free: 2.648 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/1.263, allocations: 123.3 kB / 1.465 GB, free: 2.527 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/1.264, allocations: 160 kB / 1.465 GB, free: 2.371 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003379/1.267, allocations: 1.868 MB / 1.467 GB, free: 436 kB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.259e-05/1.267, allocations: 8 kB / 1.467 GB, free: 428 kB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/1.267, allocations: 68 kB / 1.467 GB, free: 360 kB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.141e-05/1.267, allocations: 63.14 kB / 1.467 GB, free: 296 kB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003478/1.271, allocations: 1.87 MB / 1.469 GB, free: 14.41 MB / 1.17 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.009531/1.28, allocations: 6.702 MB / 1.476 GB, free: 7.262 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003001/1.283, allocations: 1.579 MB / 1.477 GB, free: 5.648 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/1.284, allocations: 0.6514 MB / 1.478 GB, free: 4.992 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000788/1.285, allocations: 0.6337 MB / 1.478 GB, free: 4.23 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001656/1.287, allocations: 0.8646 MB / 1.479 GB, free: 3.348 MB / 1.17 GB Notification: Performance of pre-optimization done (n=142): time 2.856e-06/1.287, allocations: 0 / 1.479 GB, free: 3.348 MB / 1.17 GB Notification: Performance of matching and sorting (n=142): time 0.006116/1.293, allocations: 2.342 MB / 1.481 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/1.293, allocations: 197.2 kB / 1.482 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/1.295, allocations: 1.089 MB / 1.483 GB, free: 15.6 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/1.295, allocations: 57.7 kB / 1.483 GB, free: 15.54 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006846/1.296, allocations: 0.7252 MB / 1.483 GB, free: 14.8 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004681/1.296, allocations: 499.7 kB / 1.484 GB, free: 14.31 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004298/1.297, allocations: 246.8 kB / 1.484 GB, free: 14.07 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.297, allocations: 353.9 kB / 1.485 GB, free: 13.71 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/1.298, allocations: 486.4 kB / 1.485 GB, free: 13.24 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/1.299, allocations: 0.6561 MB / 1.486 GB, free: 12.53 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/1.301, allocations: 1.154 MB / 1.487 GB, free: 11.35 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.301, allocations: 0 / 1.487 GB, free: 11.35 MB / 1.186 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.00372/1.305, allocations: 1.525 MB / 1.488 GB, free: 9.809 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/1.305, allocations: 8 kB / 1.488 GB, free: 9.801 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.305, allocations: 3.938 kB / 1.488 GB, free: 9.797 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008369/1.306, allocations: 150.5 kB / 1.488 GB, free: 9.641 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.307, allocations: 287.6 kB / 1.489 GB, free: 9.359 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004781/1.312, allocations: 4.555 MB / 1.493 GB, free: 4.383 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/1.314, allocations: 141.1 kB / 1.493 GB, free: 4.246 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/1.314, allocations: 59.95 kB / 1.493 GB, free: 4.188 MB / 1.186 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.0009172/1.315, allocations: 418.3 kB / 1.494 GB, free: 3.77 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000479/1.315, allocations: 166.9 kB / 1.494 GB, free: 3.605 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004356/1.32, allocations: 1.793 MB / 1.496 GB, free: 1.793 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/1.32, allocations: 16 kB / 1.496 GB, free: 1.777 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.32, allocations: 3.938 kB / 1.496 GB, free: 1.773 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003312/1.323, allocations: 1.482 MB / 1.497 GB, free: 256 kB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006948/1.33, allocations: 3.5 MB / 1.501 GB, free: 12.68 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/1.33, allocations: 7.984 kB / 1.501 GB, free: 12.68 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/1.331, allocations: 299.6 kB / 1.501 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000688/1.332, allocations: 126.5 kB / 1.501 GB, free: 12.25 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/1.332, allocations: 43.95 kB / 1.501 GB, free: 12.21 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/1.337, allocations: 4.545 MB / 1.505 GB, free: 7.238 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.337, allocations: 0 / 1.505 GB, free: 7.238 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005196/1.342, allocations: 2.451 MB / 1.508 GB, free: 4.762 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008779/1.343, allocations: 435.6 kB / 1.508 GB, free: 4.316 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003215/1.343, allocations: 35.98 kB / 1.508 GB, free: 4.281 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/1.345, allocations: 79.92 kB / 1.508 GB, free: 4.203 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/1.345, allocations: 113.2 kB / 1.508 GB, free: 4.094 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/1.345, allocations: 63.95 kB / 1.509 GB, free: 4.031 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001322/1.346, allocations: 0.754 MB / 1.509 GB, free: 3.273 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.51e-07/1.346, allocations: 0 / 1.509 GB, free: 3.273 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001917/1.348, allocations: 0.6468 MB / 1.51 GB, free: 2.625 MB / 1.201 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.008152/1.357, allocations: 3.654 MB / 1.513 GB, free: 15.12 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003463/1.36, allocations: 1.62 MB / 1.515 GB, free: 13.46 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.36, allocations: 448 / 1.515 GB, free: 13.46 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001991/1.362, allocations: 1.074 MB / 1.516 GB, free: 12.35 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00368/1.366, allocations: 0.7165 MB / 1.517 GB, free: 11.66 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02219/1.388, allocations: 11.43 MB / 1.528 GB, free: 32 kB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/1.389, allocations: 1.397 MB / 1.529 GB, free: 14.6 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001916/1.391, allocations: 476.5 kB / 1.53 GB, free: 14.12 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/1.393, allocations: 0.7218 MB / 1.53 GB, free: 13.4 MB / 1.232 GB Notification: Performance of SimCode: time 1.383e-06/1.393, allocations: 4 kB / 1.53 GB, free: 13.4 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.104/1.497, allocations: 43.8 MB / 1.573 GB, free: 2.105 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/16.45, allocations: 18.75 kB / 1.573 GB, free: 2.09 MB / 1.264 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData_res.csv --start-time 0 --stop-time 2.592e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1036.8 Buildings_latest_Buildings_Airflow_Multizone_Examples_PressurizationData.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)