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.001626/0.001626, 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.001323/0.001323, allocations: 195.7 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.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002625/0.002625, allocations: 290.5 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 1.074/1.074, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002837/0.002837, allocations: 100.1 kB / 0.6065 GB, free: 24.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.146, allocations: 89.15 MB / 0.6936 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PressurizationData): time 0.4459/0.5919, allocations: 187.2 MB / 0.8765 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02161/0.6136, allocations: 16.01 MB / 0.8921 GB, free: 216 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.6148, allocations: 39.81 kB / 0.8921 GB, free: 176 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.6166, allocations: 0.7139 MB / 0.8928 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005025/0.6216, allocations: 2.261 MB / 0.895 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004044/0.6256, allocations: 1.809 MB / 0.8968 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003908/0.6296, allocations: 3.619 MB / 0.9003 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.632, allocations: 1.925 MB / 0.9022 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003026/0.6351, allocations: 1.487 MB / 0.9037 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.637, allocations: 1.252 MB / 0.9049 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003324/0.6373, allocations: 216 kB / 0.9051 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003489/0.6408, allocations: 1.914 MB / 0.907 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006424/0.6415, allocations: 0.6465 MB / 0.9076 GB, free: 288 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.6427, allocations: 1.151 MB / 0.9087 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004378/0.6471, allocations: 3.482 MB / 0.9121 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.6471, allocations: 0 / 0.9121 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6471, allocations: 0 / 0.9121 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.895e-05/0.6472, allocations: 0 / 0.9121 GB, free: 11.63 MB / 0.6387 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.004595/0.6518, allocations: 2.553 MB / 0.9146 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.6518, allocations: 15.95 kB / 0.9146 GB, free: 9 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003109/0.6521, allocations: 240.6 kB / 0.9149 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003529/0.6557, allocations: 0.5126 MB / 0.9154 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.6577, allocations: 1.267 MB / 0.9166 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.6578, allocations: 127.3 kB / 0.9167 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.6581, allocations: 172 kB / 0.9169 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003347/0.6614, allocations: 1.852 MB / 0.9187 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.842e-05/0.6615, allocations: 7.938 kB / 0.9187 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.6617, allocations: 72 kB / 0.9188 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.247e-05/0.6618, allocations: 71.14 kB / 0.9188 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003529/0.6653, allocations: 1.866 MB / 0.9207 GB, free: 2.672 MB / 0.6387 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.009502/0.6748, allocations: 6.58 MB / 0.9271 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/0.6781, allocations: 1.598 MB / 0.9286 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.6793, allocations: 0.6482 MB / 0.9293 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009368/0.6803, allocations: 0.6259 MB / 0.9299 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0017/0.682, allocations: 0.8684 MB / 0.9307 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=142): time 4.959e-06/0.682, allocations: 4 kB / 0.9307 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of matching and sorting (n=142): time 0.006091/0.6881, allocations: 2.325 MB / 0.933 GB, free: 5.359 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.6882, allocations: 197.2 kB / 0.9332 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.6897, allocations: 1.097 MB / 0.9343 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.6899, allocations: 57.7 kB / 0.9343 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006366/0.6905, allocations: 0.7161 MB / 0.935 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006237/0.6911, allocations: 481 kB / 0.9355 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004283/0.6916, allocations: 234.8 kB / 0.9357 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002127/0.6918, allocations: 357.9 kB / 0.936 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.6928, allocations: 486.4 kB / 0.9365 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.6941, allocations: 0.656 MB / 0.9372 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/0.6965, allocations: 1.154 MB / 0.9383 GB, free: 15.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.6965, allocations: 0 / 0.9383 GB, free: 15.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003548/0.7001, allocations: 1.513 MB / 0.9398 GB, free: 14.27 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.7001, allocations: 10.53 kB / 0.9398 GB, free: 14.26 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/0.7001, allocations: 4 kB / 0.9398 GB, free: 14.26 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008811/0.701, allocations: 146.3 kB / 0.9399 GB, free: 14.11 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.7025, allocations: 295.6 kB / 0.9402 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005125/0.7076, allocations: 4.544 MB / 0.9446 GB, free: 8.848 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.7089, allocations: 130.9 kB / 0.9448 GB, free: 8.719 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.709, allocations: 55.91 kB / 0.9448 GB, free: 8.664 MB / 0.67 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.0006808/0.7097, allocations: 426.3 kB / 0.9452 GB, free: 8.238 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.71, allocations: 154.1 kB / 0.9454 GB, free: 8.086 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004324/0.7143, allocations: 1.804 MB / 0.9471 GB, free: 6.262 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.7144, allocations: 16 kB / 0.9471 GB, free: 6.246 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7144, allocations: 0 / 0.9471 GB, free: 6.246 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003501/0.7179, allocations: 1.482 MB / 0.9486 GB, free: 4.723 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006317/0.7242, allocations: 3.499 MB / 0.952 GB, free: 1.16 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.7242, allocations: 0 / 0.952 GB, free: 1.16 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.7257, allocations: 295.6 kB / 0.9523 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006602/0.7264, allocations: 130.5 kB / 0.9524 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.7265, allocations: 43.97 kB / 0.9525 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004933/0.7314, allocations: 4.549 MB / 0.9569 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.7314, allocations: 0 / 0.9569 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005194/0.7366, allocations: 2.44 MB / 0.9593 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006722/0.7373, allocations: 430.8 kB / 0.9597 GB, free: 8.809 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.7376, allocations: 28 kB / 0.9597 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.7389, allocations: 104.5 kB / 0.9598 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/0.7391, allocations: 105.2 kB / 0.9599 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/0.7392, allocations: 63.91 kB / 0.96 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001225/0.7405, allocations: 0.758 MB / 0.9607 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7405, allocations: 0 / 0.9607 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001481/0.742, allocations: 0.6314 MB / 0.9613 GB, free: 7.121 MB / 0.6856 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.007596/0.7496, allocations: 3.636 MB / 0.9649 GB, free: 3.641 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00517/0.7548, allocations: 2.143 MB / 0.967 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7548, allocations: 4.875 kB / 0.967 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.7567, allocations: 1.073 MB / 0.968 GB, free: 348 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/0.7598, allocations: 0.7235 MB / 0.9687 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02066/0.7804, allocations: 12.21 MB / 0.9807 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.7816, allocations: 1.394 MB / 0.982 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001736/0.7834, allocations: 480.4 kB / 0.9825 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.7845, allocations: 0.7218 MB / 0.9832 GB, free: 400 kB / 0.7012 GB Notification: Performance of SimCode: time 2.5e-07/0.7845, allocations: 0 / 0.9832 GB, free: 400 kB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09614/0.8806, allocations: 43.45 MB / 1.026 GB, free: 5.547 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.83, allocations: 4.062 kB / 1.026 GB, free: 5.543 MB / 0.7481 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)