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.001453/0.001453, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001816/0.001816, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 8.031 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.002424/0.002424, allocations: 286.5 kB / 312.7 MB, free: 2.84 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.208/1.208, allocations: 180.6 MB / 0.5369 GB, free: 13.06 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 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.002802/0.002802, allocations: 105.7 kB / 0.7396 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1873, allocations: 95.39 MB / 0.8327 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.7483/0.9356, allocations: 206.1 MB / 1.034 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01074/0.9463, allocations: 7.42 MB / 1.041 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.9484, allocations: 49.69 kB / 1.041 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.9503, allocations: 0.735 MB / 1.042 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006266/0.9565, allocations: 2.54 MB / 1.044 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003233/0.9598, allocations: 1.288 MB / 1.046 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004892/0.9646, allocations: 2.986 MB / 1.049 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.9657, allocations: 0.7093 MB / 1.049 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.9675, allocations: 1.072 MB / 1.05 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.9695, allocations: 1.031 MB / 1.051 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.9696, allocations: 110.9 kB / 1.051 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004377/0.974, allocations: 2.299 MB / 1.054 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004865/0.9745, allocations: 465.6 kB / 1.054 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007978/0.9753, allocations: 0.6606 MB / 1.055 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004246/0.9796, allocations: 2.417 MB / 1.057 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.9796, allocations: 4.406 kB / 1.057 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9796, allocations: 0 / 1.057 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.593e-05/0.9796, allocations: 0.5 kB / 1.057 GB, free: 1.828 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.003344/0.9829, allocations: 1.588 MB / 1.059 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.983, allocations: 12.97 kB / 1.059 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001479/0.9831, allocations: 133.3 kB / 1.059 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002304/0.9854, allocations: 384.6 kB / 1.059 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.9868, allocations: 0.7843 MB / 1.06 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.9868, allocations: 66.11 kB / 1.06 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.987, allocations: 86.45 kB / 1.06 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.9885, allocations: 1.04 MB / 1.061 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.9885, allocations: 7.953 kB / 1.061 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-05/0.9886, allocations: 38.09 kB / 1.061 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.872e-05/0.9886, allocations: 46.42 kB / 1.061 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.99, allocations: 0.8805 MB / 1.062 GB, free: 15.59 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.005304/0.9953, allocations: 4.25 MB / 1.066 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.9964, allocations: 0.6678 MB / 1.067 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007604/0.9972, allocations: 438.4 kB / 1.067 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003812/0.9976, allocations: 77.97 kB / 1.067 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.9976, allocations: 43.94 kB / 1.067 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.264e-06/0.9976, allocations: 0 / 1.067 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001947/0.9996, allocations: 1.003 MB / 1.068 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.9996, allocations: 60.72 kB / 1.068 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008517/1, allocations: 0.6335 MB / 1.069 GB, free: 11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.771e-05/1.001, allocations: 38.61 kB / 1.069 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/1.001, allocations: 444.7 kB / 1.07 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/1.001, allocations: 267.7 kB / 1.07 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/1.001, allocations: 115.6 kB / 1.07 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001982/1.002, allocations: 393.5 kB / 1.07 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/1.002, allocations: 272.2 kB / 1.071 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004862/1.002, allocations: 361.6 kB / 1.071 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009692/1.003, allocations: 0.6634 MB / 1.072 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/1.003, allocations: 0 / 1.072 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001281/1.005, allocations: 0.7962 MB / 1.072 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.005, allocations: 5.906 kB / 1.072 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/1.005, allocations: 2.594 kB / 1.072 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.005, allocations: 2.719 kB / 1.072 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005882/1.005, allocations: 141.7 kB / 1.072 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/1.005, allocations: 10.64 kB / 1.073 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007009/1.006, allocations: 52.59 kB / 1.073 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/1.006, allocations: 20.75 kB / 1.073 GB, free: 8.707 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.0004577/1.007, allocations: 290.6 kB / 1.073 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/1.007, allocations: 91.34 kB / 1.073 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/1.008, allocations: 0.7984 MB / 1.074 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/1.008, allocations: 9.688 kB / 1.074 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.008, allocations: 0 / 1.074 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/1.009, allocations: 0.8254 MB / 1.075 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/1.012, allocations: 1.828 MB / 1.076 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.012, allocations: 0 / 1.076 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007636/1.013, allocations: 161.4 kB / 1.076 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/1.013, allocations: 7.062 kB / 1.076 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/1.013, allocations: 21.27 kB / 1.076 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.013, allocations: 3.406 kB / 1.077 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.013, allocations: 1.156 kB / 1.077 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/1.014, allocations: 1.198 MB / 1.078 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/1.015, allocations: 181.2 kB / 1.078 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/1.015, allocations: 15.06 kB / 1.078 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005809/1.015, allocations: 23.02 kB / 1.078 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/1.016, allocations: 45.88 kB / 1.078 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/1.016, allocations: 28.86 kB / 1.078 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005394/1.016, allocations: 453.5 kB / 1.078 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.1e-08/1.016, allocations: 0 / 1.078 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008142/1.017, allocations: 336.4 kB / 1.079 GB, free: 5.016 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.002205/1.019, allocations: 1.847 MB / 1.081 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001089/1.02, allocations: 0.6412 MB / 1.081 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.02, allocations: 3.938 kB / 1.081 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004773/1.021, allocations: 361.7 kB / 1.081 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/1.023, allocations: 0.537 MB / 1.082 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009986/1.033, allocations: 6.976 MB / 1.089 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007478/1.034, allocations: 1.096 MB / 1.09 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008884/1.034, allocations: 223.2 kB / 1.09 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005177/1.035, allocations: 359.3 kB / 1.09 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of SimCode: time 9.42e-07/1.035, allocations: 3.938 kB / 1.09 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06365/1.099, allocations: 26 MB / 1.116 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.91, allocations: 8 kB / 1.116 GB, free: 1.984 MB / 0.7637 GB " [Timeout remaining time 647] (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: 17.25142406300074] Failed to read output from testmodel.py, exit status != 0: 13.029684910001379 13.055731919 12.071226567 Calling exit ...