Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 103.3 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.335/1.335, allocations: 230.6 MB / 252.8 MB, free: 8.996 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002355/0.002355, allocations: 295.8 kB / 309.1 MB, free: 3.988 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.133/1.133, allocations: 180.9 MB / 0.5333 GB, free: 13.8 MB / 382.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002655/0.002655, allocations: 97.59 kB / 0.7342 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1532, allocations: 95.34 MB / 0.8273 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.569/0.7222, allocations: 222.3 MB / 1.044 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01993/0.7421, allocations: 20.56 MB / 1.065 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003156/0.7453, allocations: 77.25 kB / 1.065 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002906/0.7482, allocations: 1.311 MB / 1.066 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009315/0.7575, allocations: 4.204 MB / 1.07 GB, free: 392 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.7614, allocations: 1.598 MB / 1.072 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007628/0.769, allocations: 6.986 MB / 1.078 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002888/0.7719, allocations: 2.013 MB / 1.08 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004619/0.7765, allocations: 2.472 MB / 1.083 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004502/0.781, allocations: 2.573 MB / 1.085 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006157/0.7816, allocations: 343.8 kB / 1.086 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007532/0.7892, allocations: 3.688 MB / 1.089 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001831/0.791, allocations: 1.476 MB / 1.091 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003024/0.794, allocations: 1.864 MB / 1.092 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009943/0.804, allocations: 5.797 MB / 1.098 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.804, allocations: 0 / 1.098 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.914e-06/0.804, allocations: 0 / 1.098 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000106/0.8041, allocations: 0 / 1.098 GB, free: 1.277 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.0101/0.8142, allocations: 4.041 MB / 1.102 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.8142, allocations: 12.03 kB / 1.102 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005307/0.8147, allocations: 387.3 kB / 1.102 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004844/0.8196, allocations: 0.841 MB / 1.103 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004098/0.8237, allocations: 1.961 MB / 1.105 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.8239, allocations: 208.7 kB / 1.105 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005499/0.8244, allocations: 268 kB / 1.106 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005628/0.83, allocations: 3.277 MB / 1.109 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.372e-05/0.8301, allocations: 3.984 kB / 1.109 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002767/0.8304, allocations: 115 kB / 1.109 GB, free: 6.16 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001262/0.8305, allocations: 121.4 kB / 1.109 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007163/0.8376, allocations: 4.619 MB / 1.114 GB, free: 1.406 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.01666/0.8543, allocations: 10.95 MB / 1.124 GB, free: 5.977 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006283/0.8606, allocations: 4.531 MB / 1.129 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003668/0.8643, allocations: 2.285 MB / 1.131 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/0.8654, allocations: 0.8612 MB / 1.132 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.368e-05/0.8654, allocations: 85.64 kB / 1.132 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=399): time 5.34e-06/0.8654, allocations: 0 / 1.132 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=399): time 0.009957/0.8754, allocations: 6.036 MB / 1.138 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.8755, allocations: 90.55 kB / 1.138 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.8772, allocations: 1.228 MB / 1.139 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002334/0.8774, allocations: 93.7 kB / 1.139 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006348/0.8781, allocations: 0.8341 MB / 1.14 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001213/0.8793, allocations: 1.402 MB / 1.141 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008317/0.8801, allocations: 0.5469 MB / 1.142 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.8802, allocations: 305.1 kB / 1.142 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/0.8827, allocations: 1.599 MB / 1.144 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002756/0.8855, allocations: 1.902 MB / 1.146 GB, free: 15.82 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005729/0.8912, allocations: 3.842 MB / 1.149 GB, free: 11.92 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.8912, allocations: 4 kB / 1.149 GB, free: 11.92 MB / 0.795 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006638/0.8978, allocations: 4.196 MB / 1.153 GB, free: 7.699 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.8979, allocations: 8 kB / 1.153 GB, free: 7.691 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.8979, allocations: 4 kB / 1.153 GB, free: 7.688 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.163e-05/0.8979, allocations: 19.94 kB / 1.153 GB, free: 7.668 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/0.9007, allocations: 0.6908 MB / 1.154 GB, free: 6.977 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.233e-05/0.9007, allocations: 16 kB / 1.154 GB, free: 6.961 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/0.903, allocations: 250 kB / 1.154 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/0.9032, allocations: 112 kB / 1.154 GB, free: 6.605 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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.001243/0.9044, allocations: 0.7301 MB / 1.155 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005401/0.905, allocations: 250.5 kB / 1.155 GB, free: 5.621 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007834/0.9128, allocations: 4.634 MB / 1.16 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-05/0.9129, allocations: 36 kB / 1.16 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/0.9129, allocations: 7.938 kB / 1.16 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006075/0.9189, allocations: 3.955 MB / 1.164 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.9316, allocations: 8.283 MB / 1.172 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.9316, allocations: 0 / 1.172 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002842/0.9345, allocations: 0.6515 MB / 1.173 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004464/0.9349, allocations: 146.4 kB / 1.173 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/0.9351, allocations: 83.97 kB / 1.173 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004033/0.9391, allocations: 5.035 MB / 1.178 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9391, allocations: 8.094 kB / 1.178 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/0.9492, allocations: 6.832 MB / 1.184 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/0.9507, allocations: 0.7835 MB / 1.185 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/0.951, allocations: 68 kB / 1.185 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/0.9527, allocations: 89.58 kB / 1.185 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004237/0.9532, allocations: 226.8 kB / 1.186 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/0.9534, allocations: 108 kB / 1.186 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001165/0.9545, allocations: 0.8606 MB / 1.186 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.9545, allocations: 0 / 1.186 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002169/0.9567, allocations: 1.073 MB / 1.188 GB, free: 4.152 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * 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): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01056/0.9673, allocations: 7.644 MB / 1.195 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005902/0.9732, allocations: 3.817 MB / 1.199 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.9732, allocations: 4.062 kB / 1.199 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00366/0.9768, allocations: 2.36 MB / 1.201 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004735/0.9816, allocations: 1.076 MB / 1.202 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03482/1.016, allocations: 23.08 MB / 1.225 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/1.018, allocations: 1.939 MB / 1.227 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003174/1.021, allocations: 1.215 MB / 1.228 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001753/1.023, allocations: 1.093 MB / 1.229 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of SimCode: time 8.42e-07/1.023, allocations: 4 kB / 1.229 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/1.144, allocations: 67.19 MB / 1.294 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/15.63, allocations: 17.72 kB / 1.294 GB, free: 7.008 MB / 0.9356 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.56480590067804] Failed to read output from testmodel.py, exit status != 0: 15.74710090784356 15.760329019 14.95357669 Calling exit ...