Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.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.001725/0.001725, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001891/0.001891, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002625/0.002625, allocations: 284.5 kB / 312.7 MB, free: 2.59 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.312/1.312, allocations: 180.6 MB / 0.5369 GB, free: 14.58 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",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.002894/0.002894, allocations: 106.5 kB / 0.7395 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2048, allocations: 95.39 MB / 0.8326 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.7347/0.9396, allocations: 178.8 MB / 1.007 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.9522, allocations: 6.908 MB / 1.014 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002333/0.9545, allocations: 50.62 kB / 1.014 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002258/0.9568, allocations: 0.6563 MB / 1.015 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007772/0.9645, allocations: 2.521 MB / 1.017 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00402/0.9686, allocations: 1.26 MB / 1.018 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004583/0.9731, allocations: 2.96 MB / 1.021 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.9747, allocations: 0.6995 MB / 1.022 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/0.9773, allocations: 1.075 MB / 1.023 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002942/0.9802, allocations: 0.9861 MB / 1.024 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000446/0.9807, allocations: 115.8 kB / 1.024 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004866/0.9856, allocations: 1.759 MB / 1.026 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008336/0.9864, allocations: 466.6 kB / 1.026 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001489/0.9879, allocations: 0.5541 MB / 1.027 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005348/0.9932, allocations: 2.363 MB / 1.029 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.9932, allocations: 0 / 1.029 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9932, allocations: 0.9375 kB / 1.029 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.426e-05/0.9933, allocations: 0 / 1.029 GB, free: 2.777 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004556/0.9979, allocations: 1.584 MB / 1.031 GB, free: 18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.9979, allocations: 12.47 kB / 1.031 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002596/0.9982, allocations: 133.6 kB / 1.031 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002541/1.001, allocations: 385.7 kB / 1.031 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/1.003, allocations: 0.7764 MB / 1.032 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/1.003, allocations: 66.56 kB / 1.032 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/1.003, allocations: 86.62 kB / 1.032 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/1.005, allocations: 1.243 MB / 1.033 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/1.005, allocations: 1.312 kB / 1.033 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/1.005, allocations: 37.19 kB / 1.033 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.42e-05/1.005, allocations: 48.31 kB / 1.033 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/1.007, allocations: 0.8798 MB / 1.034 GB, free: 17.22 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.005581/1.013, allocations: 2.869 MB / 1.037 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/1.014, allocations: 0.6616 MB / 1.038 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008042/1.015, allocations: 443.9 kB / 1.038 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004002/1.015, allocations: 77.7 kB / 1.038 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.261e-05/1.015, allocations: 42.25 kB / 1.038 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 3.457e-06/1.015, allocations: 0 / 1.038 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.002142/1.017, allocations: 0.9964 MB / 1.039 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/1.018, allocations: 64.22 kB / 1.039 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/1.019, allocations: 0.6393 MB / 1.04 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.221e-05/1.019, allocations: 39.33 kB / 1.04 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/1.019, allocations: 437.5 kB / 1.04 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003114/1.019, allocations: 261.8 kB / 1.041 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/1.02, allocations: 119.7 kB / 1.041 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002685/1.02, allocations: 391.7 kB / 1.041 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005098/1.02, allocations: 278.3 kB / 1.041 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/1.021, allocations: 351.8 kB / 1.042 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/1.022, allocations: 0.6666 MB / 1.042 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.022, allocations: 2.656 kB / 1.042 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001455/1.023, allocations: 0.7938 MB / 1.043 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.024, allocations: 9.562 kB / 1.043 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.024, allocations: 0 / 1.043 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.167e-05/1.024, allocations: 6.125 kB / 1.043 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/1.024, allocations: 144.6 kB / 1.043 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/1.024, allocations: 6.625 kB / 1.043 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009868/1.025, allocations: 55.09 kB / 1.043 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/1.025, allocations: 20.78 kB / 1.043 GB, free: 14.77 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0006181/1.026, allocations: 295.8 kB / 1.044 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/1.026, allocations: 90.34 kB / 1.044 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/1.028, allocations: 0.7998 MB / 1.044 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/1.028, allocations: 6.375 kB / 1.044 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/1.028, allocations: 0.9688 kB / 1.044 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001264/1.029, allocations: 0.8187 MB / 1.045 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003085/1.032, allocations: 1.68 MB / 1.047 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.032, allocations: 0 / 1.047 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007609/1.033, allocations: 166 kB / 1.047 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/1.033, allocations: 3.5 kB / 1.047 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.966e-05/1.033, allocations: 17.06 kB / 1.047 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/1.033, allocations: 3.219 kB / 1.047 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.033, allocations: 0 / 1.047 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/1.035, allocations: 1.208 MB / 1.048 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005854/1.035, allocations: 173.2 kB / 1.048 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/1.036, allocations: 13.81 kB / 1.048 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007227/1.036, allocations: 29.67 kB / 1.048 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/1.036, allocations: 42.62 kB / 1.048 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/1.037, allocations: 24.39 kB / 1.049 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007206/1.037, allocations: 457.2 kB / 1.049 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.037, allocations: 4.625 kB / 1.049 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001173/1.038, allocations: 335.6 kB / 1.049 GB, free: 13.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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.002537/1.041, allocations: 1.85 MB / 1.051 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00121/1.042, allocations: 0.6426 MB / 1.052 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.042, allocations: 0.8438 kB / 1.052 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005492/1.043, allocations: 349.5 kB / 1.052 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/1.045, allocations: 0.5488 MB / 1.053 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.056, allocations: 6.988 MB / 1.059 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/1.057, allocations: 500 kB / 1.06 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009306/1.058, allocations: 226.6 kB / 1.06 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005733/1.058, allocations: 361 kB / 1.06 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of SimCode: time 1.313e-06/1.058, allocations: 0 / 1.06 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06804/1.126, allocations: 28.03 MB / 1.088 GB, free: 4.797 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.51, allocations: 7.031 kB / 1.088 GB, free: 4.793 MB / 0.7481 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation_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_NaturalVentilation.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.16334277531132] Failed to read output from testmodel.py, exit status != 0: 13.630665500182658 13.647655908 12.650817799 Calling exit ...