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.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001096/0.001096, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.166/1.166, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001854/0.001854, allocations: 286.8 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9674/0.9674, allocations: 169.3 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 90.62 kB / 0.5946 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1843, allocations: 86.98 MB / 0.6795 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PressurizationData): time 0.4116/0.5959, allocations: 184.2 MB / 0.8594 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01747/0.6134, allocations: 15.99 MB / 0.8751 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.615, allocations: 34.53 kB / 0.8751 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.6166, allocations: 0.5885 MB / 0.8757 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004605/0.6212, allocations: 1.999 MB / 0.8776 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003471/0.6247, allocations: 1.612 MB / 0.8792 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003592/0.6283, allocations: 4.216 MB / 0.8833 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/0.6301, allocations: 1.794 MB / 0.8851 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.6329, allocations: 1.292 MB / 0.8863 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.6342, allocations: 1.218 MB / 0.8875 GB, free: 380 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.6344, allocations: 108.5 kB / 0.8876 GB, free: 380 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003108/0.6375, allocations: 2.08 MB / 0.8896 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004195/0.6379, allocations: 0.5509 MB / 0.8902 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000787/0.6387, allocations: 1.01 MB / 0.8912 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003018/0.6417, allocations: 3.462 MB / 0.8945 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.6417, allocations: 0 / 0.8945 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.21e-07/0.6418, allocations: 0 / 0.8945 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.6418, allocations: 4 kB / 0.8945 GB, free: 11.68 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.003582/0.6454, allocations: 2.535 MB / 0.897 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.6454, allocations: 8.031 kB / 0.897 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002397/0.6457, allocations: 244.6 kB / 0.8973 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002963/0.6486, allocations: 0.5164 MB / 0.8978 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.6502, allocations: 1.263 MB / 0.899 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.08e-05/0.6503, allocations: 127.3 kB / 0.8991 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.6504, allocations: 163.9 kB / 0.8993 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.6531, allocations: 1.856 MB / 0.9011 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.6531, allocations: 15.83 kB / 0.9011 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.6533, allocations: 75.98 kB / 0.9012 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.419e-05/0.6533, allocations: 63.16 kB / 0.9012 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002733/0.6561, allocations: 1.866 MB / 0.9031 GB, free: 2.738 MB / 0.6075 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.006692/0.6628, allocations: 6.29 MB / 0.9092 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/0.6651, allocations: 1.57 MB / 0.9107 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009501/0.6661, allocations: 0.6482 MB / 0.9114 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005574/0.6667, allocations: 0.6337 MB / 0.912 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/0.668, allocations: 0.8762 MB / 0.9128 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=142): time 2.335e-06/0.668, allocations: 4 kB / 0.9129 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of matching and sorting (n=142): time 0.004803/0.6728, allocations: 2.321 MB / 0.9151 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.6729, allocations: 201.2 kB / 0.9153 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.674, allocations: 1.093 MB / 0.9164 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.133e-05/0.6741, allocations: 53.7 kB / 0.9164 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004224/0.6746, allocations: 0.7121 MB / 0.9171 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/0.6749, allocations: 477.1 kB / 0.9176 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000323/0.6752, allocations: 246.7 kB / 0.9178 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6753, allocations: 353.9 kB / 0.9182 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008317/0.6761, allocations: 490.4 kB / 0.9186 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009676/0.6771, allocations: 0.6638 MB / 0.9193 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.6789, allocations: 1.15 MB / 0.9204 GB, free: 236 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.6789, allocations: 0 / 0.9204 GB, free: 236 kB / 0.6231 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002848/0.6818, allocations: 1.517 MB / 0.9219 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.6818, allocations: 4 kB / 0.9219 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6818, allocations: 4 kB / 0.9219 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000699/0.6825, allocations: 146.5 kB / 0.922 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.6837, allocations: 291.6 kB / 0.9223 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/0.6869, allocations: 4.225 MB / 0.9264 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.6881, allocations: 177.1 kB / 0.9266 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.386e-05/0.6882, allocations: 51.97 kB / 0.9266 GB, free: 9.395 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.0005442/0.6888, allocations: 418.1 kB / 0.927 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.689, allocations: 150.2 kB / 0.9272 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003409/0.6924, allocations: 1.808 MB / 0.9289 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.6925, allocations: 16.09 kB / 0.929 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6925, allocations: 11.92 kB / 0.929 GB, free: 6.969 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002592/0.6951, allocations: 1.482 MB / 0.9304 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004906/0.7, allocations: 3.496 MB / 0.9338 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.7, allocations: 0 / 0.9338 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.7012, allocations: 291.6 kB / 0.9341 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006036/0.7019, allocations: 146.5 kB / 0.9343 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.232e-05/0.702, allocations: 43.91 kB / 0.9343 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003099/0.7051, allocations: 4.237 MB / 0.9384 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7051, allocations: 0 / 0.9384 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00396/0.709, allocations: 2.436 MB / 0.9408 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000527/0.7096, allocations: 426.8 kB / 0.9412 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.7098, allocations: 35.91 kB / 0.9413 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.711, allocations: 127.2 kB / 0.9414 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.7112, allocations: 113.1 kB / 0.9415 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.7113, allocations: 68.08 kB / 0.9415 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008382/0.7121, allocations: 0.7502 MB / 0.9423 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7121, allocations: 0 / 0.9423 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001234/0.7134, allocations: 0.6235 MB / 0.9429 GB, free: 8.16 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.005581/0.719, allocations: 3.641 MB / 0.9464 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00241/0.7214, allocations: 1.62 MB / 0.948 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7214, allocations: 0.8125 kB / 0.948 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.7228, allocations: 1.069 MB / 0.9491 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.7252, allocations: 0.6504 MB / 0.9497 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/0.7438, allocations: 13.05 MB / 0.9625 GB, free: 3.781 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007884/0.7446, allocations: 1.39 MB / 0.9638 GB, free: 2.363 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001482/0.7461, allocations: 460.5 kB / 0.9642 GB, free: 1.906 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008733/0.7469, allocations: 0.7296 MB / 0.965 GB, free: 1.176 MB / 0.67 GB Notification: Performance of SimCode: time 3e-07/0.747, allocations: 0 / 0.965 GB, free: 1.176 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.463/4.21, allocations: 41.48 MB / 1.005 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003493/4.211, allocations: 297.9 kB / 1.006 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.917/9.128, allocations: 0 / 1.006 GB, free: 7.918 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PressurizationData_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PressurizationData.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)