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.009391/0.009391, allocations: 102.3 kB / 15.73 MB, free: 6.066 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.001997/0.001998, allocations: 191.3 kB / 16.67 MB, free: 5.973 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 289.6 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9829/0.9829, allocations: 169.3 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0026/0.0026, allocations: 99.84 kB / 0.681 GB, free: 7.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.407, allocations: 86.97 MB / 0.7659 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PressurizationData): time 0.2206/0.6276, allocations: 186.5 MB / 0.948 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.401/1.029, allocations: 15.9 MB / 0.9636 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/1.03, allocations: 44.41 kB / 0.9636 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001647/1.032, allocations: 0.6873 MB / 0.9643 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005447/1.038, allocations: 2.205 MB / 0.9664 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004223/1.042, allocations: 1.815 MB / 0.9682 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004207/1.046, allocations: 3.504 MB / 0.9716 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002451/1.048, allocations: 1.982 MB / 0.9736 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003374/1.052, allocations: 1.476 MB / 0.975 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/1.054, allocations: 1.229 MB / 0.9762 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003803/1.054, allocations: 213.9 kB / 0.9764 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004234/1.058, allocations: 1.946 MB / 0.9783 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005978/1.059, allocations: 0.6497 MB / 0.979 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001283/1.06, allocations: 1.121 MB / 0.98 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004944/1.065, allocations: 3.529 MB / 0.9835 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/1.065, allocations: 2.812 kB / 0.9835 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/1.065, allocations: 0.8125 kB / 0.9835 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.33e-05/1.065, allocations: 0 / 0.9835 GB, free: 1.023 MB / 0.7169 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.004107/1.07, allocations: 2.595 MB / 0.986 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/1.07, allocations: 10.69 kB / 0.986 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002498/1.07, allocations: 246.2 kB / 0.9863 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003186/1.073, allocations: 0.5288 MB / 0.9868 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/1.075, allocations: 1.321 MB / 0.9881 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.377e-05/1.075, allocations: 126.2 kB / 0.9882 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/1.075, allocations: 169.3 kB / 0.9884 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/1.078, allocations: 1.857 MB / 0.9902 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/1.078, allocations: 10.12 kB / 0.9902 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/1.078, allocations: 69.84 kB / 0.9903 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.468e-05/1.078, allocations: 67.94 kB / 0.9903 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/1.081, allocations: 1.873 MB / 0.9921 GB, free: 14.87 MB / 0.7325 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.008348/1.089, allocations: 6.261 MB / 0.9983 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/1.092, allocations: 1.579 MB / 0.9998 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009531/1.093, allocations: 0.6522 MB / 1 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007506/1.094, allocations: 0.6256 MB / 1.001 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001345/1.095, allocations: 0.8692 MB / 1.002 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=142): time 3.045e-06/1.095, allocations: 7.125 kB / 1.002 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=142): time 0.005117/1.1, allocations: 2.33 MB / 1.004 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/1.1, allocations: 195.1 kB / 1.004 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/1.102, allocations: 1.092 MB / 1.005 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001404/1.102, allocations: 57.55 kB / 1.005 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006361/1.102, allocations: 0.7291 MB / 1.006 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004427/1.103, allocations: 0.4949 MB / 1.007 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003431/1.103, allocations: 248 kB / 1.007 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001843/1.103, allocations: 351.1 kB / 1.007 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008034/1.104, allocations: 484.4 kB / 1.008 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009774/1.105, allocations: 0.6589 MB / 1.008 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/1.107, allocations: 1.151 MB / 1.009 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/1.107, allocations: 3.938 kB / 1.009 GB, free: 9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003046/1.11, allocations: 1.519 MB / 1.011 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.11, allocations: 5.844 kB / 1.011 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/1.11, allocations: 3.5 kB / 1.011 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007468/1.111, allocations: 142.1 kB / 1.011 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.112, allocations: 297.8 kB / 1.011 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/1.116, allocations: 4.541 MB / 1.016 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/1.118, allocations: 143.4 kB / 1.016 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/1.118, allocations: 54.81 kB / 1.016 GB, free: 4.672 MB / 0.7325 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.0008646/1.119, allocations: 415.2 kB / 1.016 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003423/1.119, allocations: 161.1 kB / 1.017 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003482/1.123, allocations: 1.804 MB / 1.018 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/1.123, allocations: 17.38 kB / 1.018 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/1.123, allocations: 5.531 kB / 1.018 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002648/1.126, allocations: 1.481 MB / 1.02 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005715/1.131, allocations: 3.508 MB / 1.023 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.131, allocations: 0 / 1.023 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/1.133, allocations: 295.2 kB / 1.024 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000599/1.133, allocations: 134.1 kB / 1.024 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/1.133, allocations: 44.92 kB / 1.024 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004297/1.138, allocations: 4.542 MB / 1.028 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.138, allocations: 3.984 kB / 1.028 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00474/1.142, allocations: 2.452 MB / 1.031 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008963/1.143, allocations: 436.6 kB / 1.031 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/1.144, allocations: 30.38 kB / 1.031 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/1.145, allocations: 91.34 kB / 1.031 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/1.145, allocations: 105.7 kB / 1.031 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/1.145, allocations: 67.67 kB / 1.031 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001013/1.146, allocations: 0.7568 MB / 1.032 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/1.146, allocations: 0 / 1.032 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001488/1.148, allocations: 0.6288 MB / 1.033 GB, free: 13.89 MB / 0.7481 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.006743/1.154, allocations: 3.652 MB / 1.036 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002876/1.157, allocations: 1.628 MB / 1.038 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.157, allocations: 448 / 1.038 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/1.159, allocations: 1.069 MB / 1.039 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/1.162, allocations: 0.7067 MB / 1.039 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/1.183, allocations: 11.53 MB / 1.051 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/1.184, allocations: 1.394 MB / 1.052 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001759/1.186, allocations: 464.5 kB / 1.053 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/1.187, allocations: 0.7296 MB / 1.053 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of SimCode: time 1.323e-06/1.187, allocations: 0 / 1.053 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09936/1.286, allocations: 43.27 MB / 1.095 GB, free: 1.477 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/16.11, allocations: 8.312 kB / 1.096 GB, free: 1.473 MB / 0.795 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)