Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Airflow.Multizone.Examples.PressurizationData,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PressurizationData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.PressurizationData,fileNamePrefix="BuildingSystems_BuildingSystems_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.00726/0.00726, allocations: 95.3 kB / 15.73 MB, free: 6.484 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.001433/0.001433, allocations: 191.1 kB / 16.67 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 278.4 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9052/0.9052, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 100.1 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1438, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PressurizationData): time 0.493/0.6369, allocations: 186.5 MB / 0.948 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01942/0.6563, allocations: 15.91 MB / 0.9636 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.6581, allocations: 43.75 kB / 0.9636 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.6601, allocations: 0.7219 MB / 0.9643 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00582/0.666, allocations: 2.251 MB / 0.9665 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004328/0.6703, allocations: 1.814 MB / 0.9683 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004154/0.6745, allocations: 3.51 MB / 0.9717 GB, free: 212 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002877/0.6774, allocations: 1.987 MB / 0.9737 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.6808, allocations: 1.515 MB / 0.9752 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/0.683, allocations: 1.239 MB / 0.9764 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005594/0.6836, allocations: 212 kB / 0.9766 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003897/0.6875, allocations: 1.946 MB / 0.9785 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0008452/0.6884, allocations: 0.6504 MB / 0.9791 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001784/0.6901, allocations: 1.123 MB / 0.9802 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005615/0.6958, allocations: 3.518 MB / 0.9836 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.6958, allocations: 4 kB / 0.9836 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6958, allocations: 3.938 kB / 0.9836 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.046e-05/0.6959, allocations: 0 / 0.9836 GB, free: 3.965 MB / 0.7325 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.005437/0.7013, allocations: 2.597 MB / 0.9862 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.7014, allocations: 11.97 kB / 0.9862 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004609/0.7019, allocations: 248.6 kB / 0.9864 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00357/0.7054, allocations: 0.5255 MB / 0.9869 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.708, allocations: 1.327 MB / 0.9882 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.7081, allocations: 127.3 kB / 0.9884 GB, free: 15 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002968/0.7084, allocations: 168 kB / 0.9885 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003363/0.7118, allocations: 1.856 MB / 0.9903 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.567e-05/0.7119, allocations: 7.891 kB / 0.9903 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/0.7121, allocations: 71.98 kB / 0.9904 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-05/0.7121, allocations: 67.16 kB / 0.9905 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003186/0.7153, allocations: 1.87 MB / 0.9923 GB, free: 10.88 MB / 0.7481 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.008336/0.7237, allocations: 6.259 MB / 0.9984 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002695/0.7264, allocations: 1.574 MB / 0.9999 GB, free: 2.664 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.7275, allocations: 0.6475 MB / 1.001 GB, free: 2.02 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006366/0.7281, allocations: 0.6376 MB / 1.001 GB, free: 1.254 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/0.7296, allocations: 0.8646 MB / 1.002 GB, free: 380 kB / 0.7481 GB Notification: Performance of pre-optimization done (n=142): time 3.527e-06/0.7296, allocations: 3.938 kB / 1.002 GB, free: 376 kB / 0.7481 GB Notification: Performance of matching and sorting (n=142): time 0.005321/0.735, allocations: 2.33 MB / 1.004 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/0.7351, allocations: 193.2 kB / 1.005 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.7366, allocations: 1.097 MB / 1.006 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.7367, allocations: 57.7 kB / 1.006 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000565/0.7373, allocations: 0.7292 MB / 1.006 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004024/0.7377, allocations: 0.4918 MB / 1.007 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/0.738, allocations: 242.8 kB / 1.007 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7382, allocations: 357.9 kB / 1.007 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009158/0.7391, allocations: 482.4 kB / 1.008 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.7402, allocations: 0.6607 MB / 1.008 GB, free: 9.555 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.7422, allocations: 1.15 MB / 1.01 GB, free: 8.379 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.7422, allocations: 0 / 1.01 GB, free: 8.379 MB / 0.7637 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003148/0.7454, allocations: 1.525 MB / 1.011 GB, free: 6.836 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.7454, allocations: 4 kB / 1.011 GB, free: 6.832 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.7454, allocations: 8.094 kB / 1.011 GB, free: 6.824 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007587/0.7462, allocations: 142.5 kB / 1.011 GB, free: 6.676 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.7474, allocations: 295.6 kB / 1.012 GB, free: 6.387 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003748/0.7512, allocations: 4.545 MB / 1.016 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.7525, allocations: 139.1 kB / 1.016 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.7526, allocations: 55.91 kB / 1.016 GB, free: 1.23 MB / 0.7637 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.0007679/0.7534, allocations: 429.3 kB / 1.017 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003909/0.7538, allocations: 159 kB / 1.017 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/0.7576, allocations: 1.804 MB / 1.018 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.7576, allocations: 19.94 kB / 1.019 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.7576, allocations: 4 kB / 1.019 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002796/0.7604, allocations: 1.482 MB / 1.02 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005967/0.7664, allocations: 3.507 MB / 1.023 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.7664, allocations: 4 kB / 1.023 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/0.7677, allocations: 291.6 kB / 1.024 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006037/0.7683, allocations: 130.5 kB / 1.024 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.7685, allocations: 47.89 kB / 1.024 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003524/0.772, allocations: 4.55 MB / 1.028 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.772, allocations: 3.938 kB / 1.028 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004522/0.7765, allocations: 2.447 MB / 1.031 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008315/0.7774, allocations: 435.6 kB / 1.031 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/0.7777, allocations: 35.98 kB / 1.031 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.779, allocations: 88.39 kB / 1.031 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.7792, allocations: 109.2 kB / 1.031 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.7794, allocations: 63.95 kB / 1.031 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00112/0.7805, allocations: 0.7502 MB / 1.032 GB, free: 296 kB / 0.7794 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7805, allocations: 4 kB / 1.032 GB, free: 292 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001607/0.7821, allocations: 0.6312 MB / 1.033 GB, free: 15.65 MB / 0.795 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.006293/0.7884, allocations: 3.653 MB / 1.036 GB, free: 12.15 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00288/0.7913, allocations: 1.616 MB / 1.038 GB, free: 10.49 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.7913, allocations: 448 / 1.038 GB, free: 10.49 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001627/0.7929, allocations: 1.077 MB / 1.039 GB, free: 9.379 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/0.796, allocations: 0.7008 MB / 1.04 GB, free: 8.707 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01997/0.816, allocations: 11.52 MB / 1.051 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.8172, allocations: 1.386 MB / 1.052 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001614/0.8188, allocations: 480.3 kB / 1.053 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.8198, allocations: 0.7257 MB / 1.053 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of SimCode: time 7.51e-07/0.8199, allocations: 0 / 1.053 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3847/1.205, allocations: 43.27 MB / 1.096 GB, free: 289.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/15.52, allocations: 7.484 kB / 1.096 GB, free: 289.7 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PressurizationData.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)