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.00116/0.00116, 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.001266/0.001266, allocations: 193.1 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002158/0.002158, allocations: 278.8 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9412/0.9412, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 97.14 kB / 0.5953 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.149, allocations: 86.98 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PressurizationData): time 0.4787/0.6277, allocations: 186.5 MB / 0.8624 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01945/0.6472, allocations: 15.92 MB / 0.878 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.6491, allocations: 43.5 kB / 0.878 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.6517, allocations: 0.6867 MB / 0.8787 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007049/0.6587, allocations: 2.2 MB / 0.8808 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005002/0.6637, allocations: 1.787 MB / 0.8826 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003918/0.6677, allocations: 3.492 MB / 0.886 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/0.6703, allocations: 1.991 MB / 0.8879 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003097/0.6734, allocations: 1.478 MB / 0.8894 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.6755, allocations: 1.226 MB / 0.8906 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004534/0.676, allocations: 214.1 kB / 0.8908 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/0.6796, allocations: 1.915 MB / 0.8926 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006725/0.6803, allocations: 0.6461 MB / 0.8933 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.6814, allocations: 1.12 MB / 0.8944 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003911/0.6854, allocations: 3.452 MB / 0.8977 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6854, allocations: 0 / 0.8977 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6854, allocations: 0 / 0.8977 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.186e-05/0.6854, allocations: 0 / 0.8977 GB, free: 8.715 MB / 0.6075 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.003889/0.6893, allocations: 2.531 MB / 0.9002 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.6893, allocations: 12.03 kB / 0.9002 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002676/0.6896, allocations: 244.6 kB / 0.9004 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003296/0.6929, allocations: 0.5164 MB / 0.901 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.6947, allocations: 1.271 MB / 0.9022 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-05/0.6948, allocations: 131.3 kB / 0.9023 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.695, allocations: 160 kB / 0.9025 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.6978, allocations: 1.86 MB / 0.9043 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-05/0.6978, allocations: 3.906 kB / 0.9043 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.698, allocations: 75.98 kB / 0.9044 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.077e-05/0.6981, allocations: 67.14 kB / 0.9044 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003014/0.7011, allocations: 1.87 MB / 0.9063 GB, free: 15.77 MB / 0.6231 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.007731/0.7088, allocations: 6.31 MB / 0.9124 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/0.7114, allocations: 1.582 MB / 0.914 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.7125, allocations: 0.656 MB / 0.9146 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006825/0.7132, allocations: 0.622 MB / 0.9152 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001533/0.7147, allocations: 0.8757 MB / 0.9161 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=142): time 3.407e-06/0.7148, allocations: 3.938 kB / 0.9161 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of matching and sorting (n=142): time 0.005832/0.7206, allocations: 2.325 MB / 0.9183 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.7208, allocations: 205.2 kB / 0.9185 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.7222, allocations: 1.081 MB / 0.9196 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.7224, allocations: 57.7 kB / 0.9196 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005969/0.723, allocations: 0.7237 MB / 0.9204 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004023/0.7234, allocations: 477.1 kB / 0.9208 GB, free: 200 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003635/0.7237, allocations: 242.9 kB / 0.921 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.7239, allocations: 353.9 kB / 0.9214 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008918/0.7248, allocations: 490.3 kB / 0.9218 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.7259, allocations: 0.6522 MB / 0.9225 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/0.728, allocations: 1.155 MB / 0.9236 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.728, allocations: 0 / 0.9236 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003367/0.7314, allocations: 1.509 MB / 0.9251 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.7314, allocations: 8 kB / 0.9251 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.7314, allocations: 4 kB / 0.9251 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007973/0.7322, allocations: 142.5 kB / 0.9252 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.7335, allocations: 303.6 kB / 0.9255 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00423/0.7377, allocations: 4.535 MB / 0.9299 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.7391, allocations: 138.8 kB / 0.9301 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.821e-05/0.7393, allocations: 51.97 kB / 0.9301 GB, free: 6.105 MB / 0.6387 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.0008262/0.7401, allocations: 418.1 kB / 0.9305 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002969/0.7404, allocations: 150.2 kB / 0.9307 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/0.7441, allocations: 1.824 MB / 0.9325 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.7441, allocations: 16 kB / 0.9325 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7442, allocations: 0 / 0.9325 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002865/0.747, allocations: 1.478 MB / 0.9339 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005607/0.7526, allocations: 3.504 MB / 0.9373 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.7527, allocations: 0 / 0.9373 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/0.754, allocations: 303.6 kB / 0.9376 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006039/0.7546, allocations: 130.5 kB / 0.9377 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.909e-05/0.7547, allocations: 39.97 kB / 0.9378 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004093/0.7588, allocations: 4.545 MB / 0.9422 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7588, allocations: 0 / 0.9422 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004646/0.7635, allocations: 2.44 MB / 0.9446 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006526/0.7642, allocations: 426.7 kB / 0.945 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.7644, allocations: 35.94 kB / 0.945 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.7656, allocations: 91 kB / 0.9451 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.7658, allocations: 113.1 kB / 0.9452 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.766, allocations: 63.95 kB / 0.9453 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001019/0.767, allocations: 0.7541 MB / 0.946 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.767, allocations: 4 kB / 0.946 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001532/0.7685, allocations: 0.6234 MB / 0.9467 GB, free: 4.57 MB / 0.6544 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.006088/0.7746, allocations: 3.623 MB / 0.9502 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004662/0.7793, allocations: 2.147 MB / 0.9523 GB, free: 14.91 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7793, allocations: 448 / 0.9523 GB, free: 14.91 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.781, allocations: 1.073 MB / 0.9533 GB, free: 13.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/0.7839, allocations: 0.7087 MB / 0.954 GB, free: 13.13 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/0.8031, allocations: 12.32 MB / 0.9661 GB, free: 384 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009256/0.8041, allocations: 1.39 MB / 0.9674 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001737/0.8058, allocations: 468.4 kB / 0.9679 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000917/0.8067, allocations: 0.7257 MB / 0.9686 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of SimCode: time 7.11e-07/0.8067, allocations: 0 / 0.9686 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08649/0.8932, allocations: 42.9 MB / 1.01 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.9, allocations: 12.41 kB / 1.01 GB, free: 3.441 MB / 0.7169 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)