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.005382/0.005382, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001279/0.001279, allocations: 195.8 kB / 16.68 MB, free: 5.934 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.237/1.237, 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.002024/0.002024, allocations: 282.4 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8894/0.8894, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 103.8 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1404, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PressurizationData): time 0.4696/0.6101, allocations: 186.5 MB / 0.948 GB, free: 8.422 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01896/0.6291, allocations: 15.92 MB / 0.9636 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.631, allocations: 43.75 kB / 0.9636 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.6333, allocations: 0.7141 MB / 0.9643 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00566/0.6389, allocations: 2.256 MB / 0.9665 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004283/0.6432, allocations: 1.81 MB / 0.9683 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004092/0.6473, allocations: 3.506 MB / 0.9717 GB, free: 124 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002618/0.65, allocations: 1.987 MB / 0.9737 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003267/0.6533, allocations: 1.526 MB / 0.9752 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002074/0.6553, allocations: 1.225 MB / 0.9764 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000507/0.6559, allocations: 216 kB / 0.9766 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003678/0.6595, allocations: 1.949 MB / 0.9785 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007466/0.6603, allocations: 0.6503 MB / 0.9791 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.6618, allocations: 1.131 MB / 0.9802 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004986/0.6668, allocations: 3.513 MB / 0.9836 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6668, allocations: 0 / 0.9836 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6668, allocations: 4 kB / 0.9836 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.918e-05/0.6669, allocations: 3.938 kB / 0.9836 GB, free: 3.867 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.004826/0.6718, allocations: 2.601 MB / 0.9862 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.6718, allocations: 8.031 kB / 0.9862 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000346/0.6722, allocations: 244.6 kB / 0.9864 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003126/0.6753, allocations: 0.5294 MB / 0.9869 GB, free: 420 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.6775, allocations: 1.319 MB / 0.9882 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-05/0.6776, allocations: 123.3 kB / 0.9883 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002548/0.6779, allocations: 160 kB / 0.9885 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003085/0.6809, allocations: 1.868 MB / 0.9903 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.211e-05/0.681, allocations: 11.89 kB / 0.9903 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/0.6812, allocations: 68 kB / 0.9904 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-05/0.6812, allocations: 67.14 kB / 0.9905 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/0.6843, allocations: 1.866 MB / 0.9923 GB, free: 10.8 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.008016/0.6923, allocations: 6.265 MB / 0.9984 GB, free: 4.188 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/0.6949, allocations: 1.578 MB / 0.9999 GB, free: 2.57 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.6959, allocations: 0.6475 MB / 1.001 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006049/0.6966, allocations: 0.6259 MB / 1.001 GB, free: 1.172 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/0.698, allocations: 0.8724 MB / 1.002 GB, free: 288 kB / 0.7481 GB Notification: Performance of pre-optimization done (n=142): time 3.447e-06/0.698, allocations: 0 / 1.002 GB, free: 288 kB / 0.7481 GB Notification: Performance of matching and sorting (n=142): time 0.005073/0.7031, allocations: 2.334 MB / 1.004 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.7032, allocations: 201.2 kB / 1.005 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.7047, allocations: 1.093 MB / 1.006 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.7048, allocations: 53.7 kB / 1.006 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005353/0.7053, allocations: 0.7291 MB / 1.006 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.7057, allocations: 0.4919 MB / 1.007 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003594/0.7061, allocations: 234.9 kB / 1.007 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7062, allocations: 357.9 kB / 1.007 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008913/0.7071, allocations: 494.3 kB / 1.008 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.7082, allocations: 0.6561 MB / 1.008 GB, free: 9.465 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.7101, allocations: 1.158 MB / 1.01 GB, free: 8.281 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.7101, allocations: 0 / 1.01 GB, free: 8.281 MB / 0.7637 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003094/0.7132, allocations: 1.525 MB / 1.011 GB, free: 6.738 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.7132, allocations: 4 kB / 1.011 GB, free: 6.734 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.7133, allocations: 11.88 kB / 1.011 GB, free: 6.723 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007095/0.714, allocations: 138.6 kB / 1.011 GB, free: 6.578 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.7152, allocations: 295.6 kB / 1.012 GB, free: 6.289 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.7188, allocations: 4.532 MB / 1.016 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.7201, allocations: 149.6 kB / 1.016 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.7203, allocations: 55.97 kB / 1.016 GB, free: 1.137 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.0007528/0.721, allocations: 429.2 kB / 1.017 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003776/0.7214, allocations: 159 kB / 1.017 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/0.7251, allocations: 1.808 MB / 1.018 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.7251, allocations: 16 kB / 1.019 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.7251, allocations: 4 kB / 1.019 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00269/0.7278, allocations: 1.486 MB / 1.02 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005685/0.7335, allocations: 3.495 MB / 1.023 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.7335, allocations: 0 / 1.023 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.7348, allocations: 295.6 kB / 1.024 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005752/0.7354, allocations: 134.4 kB / 1.024 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.7355, allocations: 43.97 kB / 1.024 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00344/0.739, allocations: 4.549 MB / 1.028 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.739, allocations: 4.125 kB / 1.028 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004432/0.7434, allocations: 2.451 MB / 1.031 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007626/0.7442, allocations: 435.6 kB / 1.031 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002843/0.7445, allocations: 28 kB / 1.031 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.7457, allocations: 89.94 kB / 1.031 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/0.7459, allocations: 113.2 kB / 1.031 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.7461, allocations: 59.97 kB / 1.031 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001069/0.7472, allocations: 0.758 MB / 1.032 GB, free: 200 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7472, allocations: 0 / 1.032 GB, free: 200 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001539/0.7487, allocations: 0.6273 MB / 1.033 GB, free: 15.57 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.006138/0.7549, allocations: 3.655 MB / 1.036 GB, free: 12.05 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002814/0.7577, allocations: 1.62 MB / 1.038 GB, free: 10.39 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.7577, allocations: 448 / 1.038 GB, free: 10.39 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.7593, allocations: 1.081 MB / 1.039 GB, free: 9.277 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002964/0.7623, allocations: 0.695 MB / 1.04 GB, free: 8.613 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/0.7815, allocations: 11.52 MB / 1.051 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.7826, allocations: 1.394 MB / 1.052 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001586/0.7842, allocations: 472.3 kB / 1.053 GB, free: 11 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009732/0.7852, allocations: 0.7257 MB / 1.053 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of SimCode: time 9.22e-07/0.7852, allocations: 0 / 1.053 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3588/1.144, allocations: 43.26 MB / 1.096 GB, free: 289.6 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.62, allocations: 9.672 kB / 1.096 GB, free: 289.6 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)