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.001399/0.001399, 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.001545/0.001545, 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.766 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.002771/0.002771, allocations: 300.2 kB / 312.7 MB, free: 2.562 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.318/1.318, allocations: 180.6 MB / 0.5369 GB, free: 14.48 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: translateModel(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") translateModel(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") [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.002878/0.002878, allocations: 105.7 kB / 0.74 GB, free: 27.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1604, allocations: 95.38 MB / 0.8331 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.5988/0.7592, allocations: 178.8 MB / 1.008 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01085/0.77, allocations: 6.905 MB / 1.014 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.7719, allocations: 50.84 kB / 1.015 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.7737, allocations: 0.6617 MB / 1.015 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006657/0.7804, allocations: 2.522 MB / 1.018 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003637/0.784, allocations: 1.261 MB / 1.019 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003933/0.788, allocations: 2.952 MB / 1.022 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.7894, allocations: 0.709 MB / 1.022 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.7917, allocations: 1.076 MB / 1.023 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002958/0.7947, allocations: 0.9929 MB / 1.024 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004342/0.7951, allocations: 112.4 kB / 1.025 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00457/0.7997, allocations: 1.754 MB / 1.026 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007401/0.8004, allocations: 469.4 kB / 1.027 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.8019, allocations: 0.5536 MB / 1.027 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003931/0.8058, allocations: 2.363 MB / 1.03 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.8058, allocations: 1.062 kB / 1.03 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8058, allocations: 0 / 1.03 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.8059, allocations: 3.094 kB / 1.03 GB, free: 3.07 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.002972/0.8088, allocations: 1.581 MB / 1.031 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.8089, allocations: 13.47 kB / 1.031 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/0.8112, allocations: 378.5 kB / 1.031 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.8125, allocations: 0.7786 MB / 1.032 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.8126, allocations: 69.84 kB / 1.032 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.8127, allocations: 83.3 kB / 1.032 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.8143, allocations: 1.24 MB / 1.034 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/0.8143, allocations: 7.094 kB / 1.034 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.359e-05/0.8144, allocations: 37.94 kB / 1.034 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-05/0.8145, allocations: 44.69 kB / 1.034 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.8158, allocations: 0.8737 MB / 1.035 GB, free: 17.56 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.003776/0.8196, allocations: 2.749 MB / 1.037 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009491/0.8205, allocations: 0.6634 MB / 1.038 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006477/0.8212, allocations: 434.7 kB / 1.038 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003255/0.8215, allocations: 76.59 kB / 1.038 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.8215, allocations: 44.31 kB / 1.038 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.255e-06/0.8215, allocations: 0 / 1.038 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001611/0.8231, allocations: 0.9942 MB / 1.039 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.8232, allocations: 64.31 kB / 1.039 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006095/0.8238, allocations: 0.5903 MB / 1.04 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.286e-05/0.8239, allocations: 39.98 kB / 1.04 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.8241, allocations: 436.5 kB / 1.04 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.8243, allocations: 264.9 kB / 1.041 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.8244, allocations: 119 kB / 1.041 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.8246, allocations: 388.7 kB / 1.041 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/0.825, allocations: 277.4 kB / 1.041 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/0.8255, allocations: 361.9 kB / 1.042 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008568/0.8263, allocations: 0.6655 MB / 1.042 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8263, allocations: 0.875 kB / 1.042 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001081/0.8274, allocations: 0.7888 MB / 1.043 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.8274, allocations: 6.5 kB / 1.043 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.8274, allocations: 5.719 kB / 1.043 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.8275, allocations: 6.031 kB / 1.043 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.828, allocations: 144 kB / 1.043 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.828, allocations: 6.375 kB / 1.043 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006905/0.8287, allocations: 47.78 kB / 1.043 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.8288, allocations: 24.27 kB / 1.043 GB, free: 15.14 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.0003531/0.8291, allocations: 283 kB / 1.044 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.8293, allocations: 85.36 kB / 1.044 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.8304, allocations: 0.8018 MB / 1.045 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.8304, allocations: 9.125 kB / 1.045 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8304, allocations: 0 / 1.045 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009889/0.8314, allocations: 0.8176 MB / 1.045 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.8336, allocations: 1.577 MB / 1.047 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.8336, allocations: 4.312 kB / 1.047 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007579/0.8343, allocations: 162.4 kB / 1.047 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.8343, allocations: 3.906 kB / 1.047 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/0.8344, allocations: 19.47 kB / 1.047 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.8344, allocations: 8.125 kB / 1.047 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.8344, allocations: 0 / 1.047 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.8359, allocations: 1.193 MB / 1.048 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/0.8362, allocations: 168.8 kB / 1.048 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.8363, allocations: 19.03 kB / 1.048 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000605/0.8369, allocations: 24.48 kB / 1.048 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.837, allocations: 46.91 kB / 1.049 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.8371, allocations: 29.14 kB / 1.049 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004365/0.8375, allocations: 423.3 kB / 1.049 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8375, allocations: 0.8125 kB / 1.049 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007572/0.8383, allocations: 338.1 kB / 1.049 GB, free: 13.55 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.0003238/0.8386, allocations: 199.7 kB / 1.049 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009407/0.8396, allocations: 0.6496 MB / 1.05 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8396, allocations: 0 / 1.05 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004944/0.84, allocations: 353.1 kB / 1.05 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.8421, allocations: 0.5078 MB / 1.051 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.8455, allocations: 2.194 MB / 1.053 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.8459, allocations: 0.4929 MB / 1.054 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007725/0.8467, allocations: 214.3 kB / 1.054 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.8469, allocations: 72.73 kB / 1.054 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/0.8469, allocations: 3.188 kB / 1.054 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of Templates: time 0.03043/0.8773, allocations: 19.94 MB / 1.073 GB, free: 3.43 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.445389691740274] Failed to read output from testmodel.py, exit status != 0: 0.8845800217241049 0.899727698 0.09071439699999995 Calling exit ...