Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.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.Validation.OpenDoorPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorPressure",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.006698/0.006698, allocations: 102.2 kB / 15.73 MB, free: 5.516 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.001254/0.001254, allocations: 201.7 kB / 16.68 MB, free: 5.445 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.121 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002164/0.002163, allocations: 282.9 kB / 290.8 MB, free: 1.723 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9279/0.9279, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001923, allocations: 95.84 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1607, allocations: 86.97 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure): time 0.5353/0.6961, allocations: 184.5 MB / 0.9461 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007814/0.7039, allocations: 5.545 MB / 0.9515 GB, free: 5.168 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008215/0.7048, allocations: 11.94 kB / 0.9515 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.7064, allocations: 0.5947 MB / 0.9521 GB, free: 4.559 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004539/0.711, allocations: 1.893 MB / 0.9539 GB, free: 2.66 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.7131, allocations: 0.6834 MB / 0.9546 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002578/0.7157, allocations: 2.155 MB / 0.9567 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.7169, allocations: 0.7198 MB / 0.9574 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.7188, allocations: 0.958 MB / 0.9583 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.7201, allocations: 0.8216 MB / 0.9591 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002586/0.7204, allocations: 92 kB / 0.9592 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003727/0.7241, allocations: 2.003 MB / 0.9612 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006211/0.7248, allocations: 470.7 kB / 0.9616 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.7259, allocations: 0.5871 MB / 0.9622 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004205/0.7301, allocations: 2.169 MB / 0.9643 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7302, allocations: 0 / 0.9643 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.318e-06/0.7302, allocations: 0 / 0.9643 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.18e-05/0.7302, allocations: 3.938 kB / 0.9643 GB, free: 7.977 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004637/0.7349, allocations: 1.721 MB / 0.966 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.7349, allocations: 8.031 kB / 0.966 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002464/0.7352, allocations: 143.6 kB / 0.9661 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007146/0.7359, allocations: 172.3 kB / 0.9663 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.7372, allocations: 0.6465 MB / 0.9669 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-05/0.7373, allocations: 66 kB / 0.967 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.7375, allocations: 80 kB / 0.9671 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.7394, allocations: 1.192 MB / 0.9682 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.7394, allocations: 8 kB / 0.9683 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.7395, allocations: 43.92 kB / 0.9683 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.828e-05/0.7396, allocations: 45.98 kB / 0.9683 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002287/0.7419, allocations: 1.503 MB / 0.9698 GB, free: 2.238 MB / 0.7169 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.005222/0.7471, allocations: 3.307 MB / 0.973 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.7492, allocations: 1.538 MB / 0.9745 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009851/0.7502, allocations: 0.741 MB / 0.9753 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/0.7516, allocations: 1.54 MB / 0.9768 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.7527, allocations: 0.7475 MB / 0.9775 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=127): time 3.386e-06/0.7528, allocations: 0 / 0.9775 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of matching and sorting (n=127): time 0.003121/0.7559, allocations: 1.942 MB / 0.9794 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.756, allocations: 98.09 kB / 0.9795 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.757, allocations: 0.7661 MB / 0.9802 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.078e-05/0.7571, allocations: 49.7 kB / 0.9803 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/0.7574, allocations: 361.9 kB / 0.9806 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003589/0.7578, allocations: 448.2 kB / 0.9811 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003158/0.7581, allocations: 206.9 kB / 0.9812 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.7583, allocations: 406.7 kB / 0.9816 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007954/0.7591, allocations: 0.5295 MB / 0.9822 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008927/0.76, allocations: 0.6351 MB / 0.9828 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/0.7618, allocations: 1.297 MB / 0.984 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.7618, allocations: 0 / 0.984 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002227/0.7641, allocations: 1.505 MB / 0.9855 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.7641, allocations: 39.58 kB / 0.9855 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.7641, allocations: 7.938 kB / 0.9856 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.7642, allocations: 7.984 kB / 0.9856 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009158/0.7651, allocations: 215.7 kB / 0.9858 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.563e-05/0.7651, allocations: 11.98 kB / 0.9858 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007165/0.7658, allocations: 99.14 kB / 0.9859 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.273e-05/0.7659, allocations: 47.98 kB / 0.9859 GB, free: 1.07 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (bouPre.nextEventScaled,bouPre.nextEvent,$PRE.bouPre.nextEvent,bouPre.last,bouPre.b,bouPre.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000498/0.7665, allocations: 371.1 kB / 0.9863 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.7667, allocations: 111.3 kB / 0.9864 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.7692, allocations: 1.653 MB / 0.988 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.7692, allocations: 16.03 kB / 0.988 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.7692, allocations: 0 / 0.988 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.7693, allocations: 7.969 kB / 0.988 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00556/0.7748, allocations: 3.741 MB / 0.9917 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.7749, allocations: 11.94 kB / 0.9917 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008611/0.7757, allocations: 219.7 kB / 0.9919 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.999e-05/0.7758, allocations: 12 kB / 0.9919 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-05/0.7759, allocations: 43.92 kB / 0.9919 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.554e-05/0.7759, allocations: 15.94 kB / 0.992 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.7759, allocations: 11.94 kB / 0.992 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003347/0.7792, allocations: 2.636 MB / 0.9945 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006336/0.7799, allocations: 340 kB / 0.9949 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.7801, allocations: 35.94 kB / 0.9949 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000723/0.7808, allocations: 35.92 kB / 0.9949 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.781, allocations: 100.7 kB / 0.995 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.719e-05/0.7811, allocations: 44 kB / 0.9951 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007002/0.7818, allocations: 0.5576 MB / 0.9956 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7818, allocations: 0 / 0.9956 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001016/0.7828, allocations: 375.5 kB / 0.996 GB, free: 6.426 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004264/0.7871, allocations: 3.385 MB / 0.9993 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00205/0.7892, allocations: 1.416 MB / 1.001 GB, free: 1.496 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7892, allocations: 3.938 kB / 1.001 GB, free: 1.492 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000985/0.7902, allocations: 0.7756 MB / 1.001 GB, free: 0.7031 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.7922, allocations: 404.9 kB / 1.002 GB, free: 324 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.8058, allocations: 9.893 MB / 1.011 GB, free: 6.094 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007756/0.8066, allocations: 1.106 MB / 1.013 GB, free: 4.965 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001184/0.8078, allocations: 435.7 kB / 1.013 GB, free: 4.535 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005825/0.8084, allocations: 363.3 kB / 1.013 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of SimCode: time 8.11e-07/0.8084, allocations: 4 kB / 1.013 GB, free: 4.176 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05437/0.8628, allocations: 26.64 MB / 1.039 GB, free: 9.902 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.209/10.07, allocations: 3.938 kB / 1.039 GB, free: 9.898 MB / 0.795 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure_res.csv --start-time 0 --stop-time 28800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 600 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorPressure.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)