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.005522/0.005522, allocations: 102.1 kB / 15.73 MB, free: 5.996 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.00151/0.00151, allocations: 187.4 kB / 16.67 MB, free: 5.93 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002543/0.002543, allocations: 282.8 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.016/1.016, allocations: 178.6 MB / 0.5074 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002592/0.002592, allocations: 97.09 kB / 0.6943 GB, free: 3.629 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.44, allocations: 89.13 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PressurizationData): time 0.2028/0.6428, allocations: 187.3 MB / 0.9642 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02145/0.6643, allocations: 16.01 MB / 0.9798 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.6662, allocations: 47.75 kB / 0.9799 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001859/0.6681, allocations: 0.7177 MB / 0.9806 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005786/0.6739, allocations: 2.258 MB / 0.9828 GB, free: 276 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00437/0.6783, allocations: 1.83 MB / 0.9846 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004801/0.6831, allocations: 3.619 MB / 0.9881 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002897/0.686, allocations: 1.933 MB / 0.99 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00339/0.6894, allocations: 1.486 MB / 0.9914 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.6916, allocations: 1.252 MB / 0.9927 GB, free: 6.105 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003374/0.692, allocations: 212 kB / 0.9929 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003903/0.6959, allocations: 1.946 MB / 0.9948 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000679/0.6966, allocations: 0.6543 MB / 0.9954 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.6979, allocations: 1.139 MB / 0.9965 GB, free: 2.148 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006045/0.704, allocations: 3.569 MB / 1 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.704, allocations: 0 / 1 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.643e-06/0.704, allocations: 0 / 1 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.535e-05/0.7041, allocations: 0 / 1 GB, free: 14.57 MB / 0.7637 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.004919/0.709, allocations: 2.616 MB / 1.003 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.7091, allocations: 8.031 kB / 1.003 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002949/0.7094, allocations: 244.6 kB / 1.003 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003293/0.7127, allocations: 0.5293 MB / 1.003 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.7148, allocations: 1.323 MB / 1.005 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.7149, allocations: 127.2 kB / 1.005 GB, free: 9.59 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.7152, allocations: 164 kB / 1.005 GB, free: 9.43 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003101/0.7183, allocations: 1.86 MB / 1.007 GB, free: 7.492 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.917e-05/0.7183, allocations: 3.938 kB / 1.007 GB, free: 7.488 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/0.7185, allocations: 79.98 kB / 1.007 GB, free: 7.41 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.681e-05/0.7186, allocations: 63.14 kB / 1.007 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003195/0.7218, allocations: 1.87 MB / 1.009 GB, free: 5.473 MB / 0.7637 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.008876/0.7307, allocations: 6.523 MB / 1.015 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/0.7334, allocations: 1.594 MB / 1.017 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.7346, allocations: 0.6437 MB / 1.017 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007444/0.7353, allocations: 0.6298 MB / 1.018 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/0.7369, allocations: 0.8724 MB / 1.019 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=142): time 3.126e-06/0.7369, allocations: 0 / 1.019 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=142): time 0.005586/0.7425, allocations: 2.33 MB / 1.021 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.7427, allocations: 209.2 kB / 1.021 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.7442, allocations: 1.085 MB / 1.022 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.7443, allocations: 53.7 kB / 1.022 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006492/0.745, allocations: 0.733 MB / 1.023 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000437/0.7454, allocations: 495.7 kB / 1.023 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00039/0.7458, allocations: 246.8 kB / 1.024 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.746, allocations: 353.9 kB / 1.024 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009547/0.7469, allocations: 486.4 kB / 1.025 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.7481, allocations: 0.6599 MB / 1.025 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.7502, allocations: 1.154 MB / 1.026 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.7502, allocations: 0 / 1.026 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003341/0.7536, allocations: 1.521 MB / 1.028 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.7536, allocations: 11.88 kB / 1.028 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.7536, allocations: 4 kB / 1.028 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000783/0.7544, allocations: 146.6 kB / 1.028 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.7557, allocations: 295.6 kB / 1.028 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004467/0.7602, allocations: 4.533 MB / 1.033 GB, free: 11.67 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.7616, allocations: 150.2 kB / 1.033 GB, free: 11.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.7617, allocations: 55.97 kB / 1.033 GB, free: 11.47 MB / 0.795 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.0008112/0.7625, allocations: 409.5 kB / 1.033 GB, free: 11.06 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.7628, allocations: 163 kB / 1.033 GB, free: 10.9 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00388/0.7667, allocations: 1.808 MB / 1.035 GB, free: 9.066 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.7668, allocations: 16 kB / 1.035 GB, free: 9.051 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.7668, allocations: 0 / 1.035 GB, free: 9.051 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002968/0.7697, allocations: 1.482 MB / 1.037 GB, free: 7.527 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006092/0.7758, allocations: 3.503 MB / 1.04 GB, free: 3.957 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.7759, allocations: 4 kB / 1.04 GB, free: 3.953 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.7773, allocations: 303.6 kB / 1.04 GB, free: 3.656 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006521/0.7779, allocations: 126.5 kB / 1.04 GB, free: 3.523 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/0.7781, allocations: 39.97 kB / 1.04 GB, free: 3.484 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004364/0.7825, allocations: 4.545 MB / 1.045 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.7825, allocations: 4.125 kB / 1.045 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00495/0.7874, allocations: 2.451 MB / 1.047 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007944/0.7883, allocations: 435.6 kB / 1.048 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/0.7885, allocations: 32 kB / 1.048 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.7897, allocations: 87.91 kB / 1.048 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/0.7899, allocations: 113.2 kB / 1.048 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/0.7901, allocations: 59.97 kB / 1.048 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00108/0.7912, allocations: 0.7541 MB / 1.049 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7912, allocations: 0 / 1.049 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001494/0.7927, allocations: 0.6429 MB / 1.049 GB, free: 9.898 MB / 0.8106 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.007173/0.7998, allocations: 3.651 MB / 1.053 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003059/0.8029, allocations: 1.628 MB / 1.055 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.8029, allocations: 448 / 1.055 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001749/0.8047, allocations: 1.07 MB / 1.056 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/0.8076, allocations: 0.727 MB / 1.056 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01952/0.8271, allocations: 11.41 MB / 1.067 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.8284, allocations: 1.405 MB / 1.069 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001635/0.83, allocations: 472.5 kB / 1.069 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.8311, allocations: 0.7218 MB / 1.07 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.8311, allocations: 0 / 1.07 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4055/1.237, allocations: 43.84 MB / 1.113 GB, free: 256.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.75, allocations: 4.828 kB / 1.113 GB, free: 256.6 MB / 0.8262 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)