Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.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.DoorOpenClosed,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed",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.001328/0.001328, 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.001307/0.001308, allocations: 193.5 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002567/0.002567, allocations: 283 kB / 290.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.082/1.082, allocations: 178.6 MB / 0.5073 GB, free: 4.555 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002849/0.002849, allocations: 96.39 kB / 0.6065 GB, free: 24.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1476, allocations: 89.15 MB / 0.6936 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed): time 0.4543/0.602, allocations: 198.6 MB / 0.8876 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.6143, allocations: 9.447 MB / 0.8968 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007262/0.615, allocations: 15.94 kB / 0.8968 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.6166, allocations: 0.6098 MB / 0.8974 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004542/0.6212, allocations: 2.022 MB / 0.8994 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.623, allocations: 0.7389 MB / 0.9001 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002369/0.6254, allocations: 2.108 MB / 0.9022 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.6265, allocations: 0.7557 MB / 0.9029 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.6288, allocations: 1.354 MB / 0.9042 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009415/0.6297, allocations: 0.7393 MB / 0.9049 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.6299, allocations: 68 kB / 0.905 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003368/0.6332, allocations: 1.933 MB / 0.9069 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004033/0.6337, allocations: 351 kB / 0.9072 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005583/0.6342, allocations: 0.5015 MB / 0.9077 GB, free: 108 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002518/0.6368, allocations: 1.831 MB / 0.9095 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.6368, allocations: 4 kB / 0.9095 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6368, allocations: 0 / 0.9095 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.6368, allocations: 4 kB / 0.9095 GB, free: 14.26 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003501/0.6403, allocations: 1.431 MB / 0.9109 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.6404, allocations: 16.03 kB / 0.9109 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/0.6405, allocations: 118.5 kB / 0.911 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006307/0.6412, allocations: 146.8 kB / 0.9112 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008644/0.642, allocations: 0.5642 MB / 0.9117 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.892e-05/0.6421, allocations: 50 kB / 0.9118 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.6422, allocations: 75.98 kB / 0.9119 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.6437, allocations: 0.8626 MB / 0.9127 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.6437, allocations: 0 / 0.9127 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-05/0.6438, allocations: 24 kB / 0.9127 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.359e-05/0.6438, allocations: 49.98 kB / 0.9128 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.6453, allocations: 0.769 MB / 0.9135 GB, free: 10.04 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.005341/0.6506, allocations: 4.549 MB / 0.918 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007884/0.6514, allocations: 432.1 kB / 0.9184 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.6518, allocations: 189.4 kB / 0.9186 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007716/0.6526, allocations: 0.7639 MB / 0.9193 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.6526, allocations: 34.89 kB / 0.9193 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=40): time 1.653e-06/0.6526, allocations: 4 kB / 0.9193 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of matching and sorting (n=40): time 0.001342/0.654, allocations: 0.5996 MB / 0.9199 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.654, allocations: 59.34 kB / 0.92 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.6551, allocations: 0.8719 MB / 0.9208 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.6552, allocations: 29.7 kB / 0.9209 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.6555, allocations: 387.6 kB / 0.9212 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.6557, allocations: 134 kB / 0.9214 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.6559, allocations: 106 kB / 0.9215 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.656, allocations: 322 kB / 0.9218 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.6564, allocations: 189.6 kB / 0.9219 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/0.6569, allocations: 273.6 kB / 0.9222 GB, free: 352 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007906/0.6577, allocations: 455.1 kB / 0.9226 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6577, allocations: 0 / 0.9226 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001073/0.6588, allocations: 0.5876 MB / 0.9232 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.6588, allocations: 8 kB / 0.9232 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6588, allocations: 3.938 kB / 0.9232 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.6588, allocations: 4 kB / 0.9232 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/0.6593, allocations: 103.8 kB / 0.9233 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.6594, allocations: 8.156 kB / 0.9233 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.6599, allocations: 75.2 kB / 0.9234 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.66, allocations: 23.98 kB / 0.9234 GB, free: 15.05 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * 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.0003259/0.6603, allocations: 242.3 kB / 0.9237 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.6605, allocations: 82.97 kB / 0.9237 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.6615, allocations: 0.5515 MB / 0.9243 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.6616, allocations: 4 kB / 0.9243 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6616, allocations: 3.938 kB / 0.9243 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.6616, allocations: 3.984 kB / 0.9243 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003457/0.665, allocations: 2.115 MB / 0.9264 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.6651, allocations: 17.92 kB / 0.9264 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.6655, allocations: 91.84 kB / 0.9265 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.6655, allocations: 8 kB / 0.9265 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.6656, allocations: 20.64 kB / 0.9265 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.209e-05/0.6656, allocations: 15.94 kB / 0.9265 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.6656, allocations: 11.94 kB / 0.9265 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.6671, allocations: 0.9834 MB / 0.9275 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/0.6674, allocations: 208 kB / 0.9277 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.6675, allocations: 19.98 kB / 0.9277 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.668, allocations: 12 kB / 0.9277 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.589e-05/0.6681, allocations: 55.83 kB / 0.9278 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.6682, allocations: 24 kB / 0.9278 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008447/0.669, allocations: 0.6317 MB / 0.9284 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.669, allocations: 0 / 0.9284 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007243/0.6698, allocations: 243.5 kB / 0.9286 GB, free: 9.426 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * 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.002172/0.672, allocations: 1.66 MB / 0.9303 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009342/0.6729, allocations: 472.4 kB / 0.9307 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6729, allocations: 0 / 0.9307 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004197/0.6733, allocations: 232.8 kB / 0.9309 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/0.6757, allocations: 0.4963 MB / 0.9314 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009535/0.6852, allocations: 6.873 MB / 0.9381 GB, free: 15.33 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000698/0.6859, allocations: 1.004 MB / 0.9391 GB, free: 14.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007393/0.6867, allocations: 183.1 kB / 0.9393 GB, free: 14.11 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/0.6871, allocations: 291.3 kB / 0.9396 GB, free: 13.83 MB / 0.67 GB Notification: Performance of SimCode: time 4.11e-07/0.6871, allocations: 3.938 kB / 0.9396 GB, free: 13.82 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05917/0.7463, allocations: 24.1 MB / 0.9631 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.293/9.04, allocations: 4.891 kB / 0.9631 GB, free: 6.062 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)