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.00103/0.00103, 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.001072/0.001072, allocations: 193.2 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00213/0.00213, allocations: 290.6 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9385/0.9385, allocations: 169.2 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 94.42 kB / 0.5953 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1297, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure): time 0.4722/0.6019, allocations: 184.5 MB / 0.8604 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009219/0.6112, allocations: 5.544 MB / 0.8658 GB, free: 364 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007297/0.6119, allocations: 14.12 kB / 0.8659 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.6134, allocations: 0.581 MB / 0.8664 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004013/0.6174, allocations: 1.831 MB / 0.8682 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.6191, allocations: 0.6787 MB / 0.8689 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002123/0.6213, allocations: 2.156 MB / 0.871 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.6223, allocations: 0.7236 MB / 0.8717 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.6237, allocations: 0.9215 MB / 0.8726 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.6249, allocations: 0.8212 MB / 0.8734 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002004/0.6251, allocations: 88.09 kB / 0.8735 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003371/0.6285, allocations: 2 MB / 0.8754 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004856/0.629, allocations: 469 kB / 0.8759 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008208/0.6298, allocations: 0.5862 MB / 0.8765 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003057/0.6329, allocations: 2.14 MB / 0.8785 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6329, allocations: 2.375 kB / 0.8785 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6329, allocations: 0 / 0.8785 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.567e-05/0.6329, allocations: 0 / 0.8785 GB, free: 8.395 MB / 0.5919 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.004041/0.637, allocations: 1.689 MB / 0.8802 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.637, allocations: 10.25 kB / 0.8802 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001903/0.6372, allocations: 146.6 kB / 0.8803 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006235/0.6378, allocations: 152.4 kB / 0.8805 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009078/0.6388, allocations: 0.6221 MB / 0.8811 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/0.6388, allocations: 71.83 kB / 0.8812 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.639, allocations: 83.41 kB / 0.8812 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.6406, allocations: 1.192 MB / 0.8824 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.6407, allocations: 4 kB / 0.8824 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.068e-05/0.6408, allocations: 39.06 kB / 0.8824 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.821e-05/0.6408, allocations: 48.27 kB / 0.8825 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002141/0.643, allocations: 1.506 MB / 0.884 GB, free: 5.043 MB / 0.5919 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.004424/0.6474, allocations: 3.329 MB / 0.8872 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.6494, allocations: 1.536 MB / 0.8887 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009882/0.6504, allocations: 0.7456 MB / 0.8894 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.6517, allocations: 1.544 MB / 0.891 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009964/0.6527, allocations: 0.7454 MB / 0.8917 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=127): time 2.635e-06/0.6528, allocations: 0 / 0.8917 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127): time 0.002976/0.6557, allocations: 1.945 MB / 0.8936 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.6558, allocations: 94.09 kB / 0.8937 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008538/0.6567, allocations: 0.7661 MB / 0.8944 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.257e-05/0.6568, allocations: 45.7 kB / 0.8945 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.657, allocations: 357.4 kB / 0.8948 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/0.6573, allocations: 429.8 kB / 0.8952 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/0.6577, allocations: 206.8 kB / 0.8954 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6578, allocations: 406.7 kB / 0.8958 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007803/0.6586, allocations: 0.5218 MB / 0.8963 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000874/0.6595, allocations: 0.639 MB / 0.8969 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.6613, allocations: 1.289 MB / 0.8982 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.6613, allocations: 3.938 kB / 0.8982 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002138/0.6634, allocations: 1.513 MB / 0.8997 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.6635, allocations: 33.7 kB / 0.8997 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.6635, allocations: 8.062 kB / 0.8997 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.6635, allocations: 11.98 kB / 0.8997 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000893/0.6644, allocations: 215.7 kB / 0.8999 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.6645, allocations: 7.984 kB / 0.8999 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.6651, allocations: 102.8 kB / 0.9 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/0.6652, allocations: 43.98 kB / 0.9001 GB, free: 5.523 MB / 0.6075 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.0004204/0.6656, allocations: 363.8 kB / 0.9004 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.6658, allocations: 106.8 kB / 0.9005 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.6683, allocations: 1.655 MB / 0.9021 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.6684, allocations: 12 kB / 0.9022 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6684, allocations: 0 / 0.9022 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.6684, allocations: 7.969 kB / 0.9022 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005061/0.6735, allocations: 3.738 MB / 0.9058 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.6735, allocations: 11.94 kB / 0.9058 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008485/0.6743, allocations: 215.7 kB / 0.906 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.451e-05/0.6744, allocations: 12 kB / 0.906 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.948e-05/0.6745, allocations: 39.92 kB / 0.9061 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/0.6745, allocations: 15.94 kB / 0.9061 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.6745, allocations: 11.94 kB / 0.9061 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003256/0.6777, allocations: 2.647 MB / 0.9087 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/0.6782, allocations: 331.4 kB / 0.909 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.6784, allocations: 35.94 kB / 0.909 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006441/0.679, allocations: 37.67 kB / 0.9091 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.6792, allocations: 100.8 kB / 0.9092 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.523e-05/0.6793, allocations: 48 kB / 0.9092 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006048/0.6799, allocations: 0.5498 MB / 0.9098 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6799, allocations: 0 / 0.9098 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008519/0.6808, allocations: 371.7 kB / 0.9101 GB, free: 10.91 MB / 0.6231 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.004018/0.6848, allocations: 3.378 MB / 0.9134 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002874/0.6877, allocations: 1.877 MB / 0.9152 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6877, allocations: 0 / 0.9152 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009958/0.6887, allocations: 0.7755 MB / 0.916 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/0.6906, allocations: 415.6 kB / 0.9164 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.7039, allocations: 10.2 MB / 0.9264 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007219/0.7046, allocations: 1.102 MB / 0.9274 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001234/0.7058, allocations: 435.7 kB / 0.9278 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005398/0.7064, allocations: 363.3 kB / 0.9282 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of SimCode: time 4.11e-07/0.7064, allocations: 4 kB / 0.9282 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05006/0.7565, allocations: 26.39 MB / 0.954 GB, free: 13.75 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/8.418, allocations: 13.03 kB / 0.954 GB, free: 13.74 MB / 0.67 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)