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.001416/0.001416, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001541/0.001541, allocations: 213.8 kB / 22.99 MB, free: 4.945 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002739/0.002739, allocations: 284.2 kB / 313.5 MB, free: 2.695 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.294/1.294, allocations: 180.6 MB / 0.5377 GB, free: 14.44 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.002976/0.002976, allocations: 107.7 kB / 0.7407 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2196, allocations: 95.38 MB / 0.8339 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.8185/1.038, allocations: 178.8 MB / 1.008 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01177/1.05, allocations: 6.901 MB / 1.015 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002111/1.052, allocations: 47.16 kB / 1.015 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001848/1.054, allocations: 0.6627 MB / 1.016 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007345/1.061, allocations: 2.518 MB / 1.018 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003864/1.065, allocations: 1.263 MB / 1.02 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004623/1.07, allocations: 2.958 MB / 1.022 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/1.071, allocations: 0.7098 MB / 1.023 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/1.073, allocations: 1.075 MB / 1.024 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002739/1.076, allocations: 0.987 MB / 1.025 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002168/1.076, allocations: 113.1 kB / 1.025 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004486/1.081, allocations: 1.754 MB / 1.027 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005996/1.081, allocations: 467 kB / 1.027 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009399/1.082, allocations: 0.5553 MB / 1.028 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004419/1.087, allocations: 2.36 MB / 1.03 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.087, allocations: 3.938 kB / 1.03 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/1.087, allocations: 0.7188 kB / 1.03 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.539e-05/1.087, allocations: 2.969 kB / 1.03 GB, free: 3.051 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.003172/1.09, allocations: 1.578 MB / 1.032 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.09, allocations: 11.38 kB / 1.032 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/1.092, allocations: 384.6 kB / 1.032 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/1.094, allocations: 0.7853 MB / 1.033 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.365e-05/1.094, allocations: 64.5 kB / 1.033 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/1.094, allocations: 86.11 kB / 1.033 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/1.096, allocations: 1.241 MB / 1.034 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/1.096, allocations: 4.594 kB / 1.034 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-05/1.096, allocations: 38.56 kB / 1.034 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.474e-05/1.096, allocations: 42.88 kB / 1.034 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/1.097, allocations: 0.8807 MB / 1.035 GB, free: 17.54 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.004067/1.101, allocations: 2.744 MB / 1.038 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/1.102, allocations: 0.6581 MB / 1.039 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007227/1.103, allocations: 438.8 kB / 1.039 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003687/1.103, allocations: 76.11 kB / 1.039 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/1.103, allocations: 47.34 kB / 1.039 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.475e-06/1.103, allocations: 0 / 1.039 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001789/1.105, allocations: 0.9965 MB / 1.04 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/1.105, allocations: 60.69 kB / 1.04 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006998/1.106, allocations: 0.5889 MB / 1.041 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.641e-05/1.106, allocations: 39.86 kB / 1.041 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/1.106, allocations: 436.3 kB / 1.041 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/1.107, allocations: 267.2 kB / 1.041 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/1.107, allocations: 116.3 kB / 1.042 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002151/1.107, allocations: 386.5 kB / 1.042 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/1.107, allocations: 276.3 kB / 1.042 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004624/1.108, allocations: 357.1 kB / 1.043 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000946/1.109, allocations: 0.6654 MB / 1.043 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.109, allocations: 0.9062 kB / 1.043 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001185/1.11, allocations: 0.7927 MB / 1.044 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.11, allocations: 9.969 kB / 1.044 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/1.11, allocations: 0.9375 kB / 1.044 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/1.11, allocations: 8.969 kB / 1.044 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/1.111, allocations: 146.5 kB / 1.044 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/1.111, allocations: 4.969 kB / 1.044 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007496/1.111, allocations: 47.62 kB / 1.044 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/1.112, allocations: 20.44 kB / 1.044 GB, free: 15.12 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.0004335/1.112, allocations: 291.5 kB / 1.044 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/1.112, allocations: 89.23 kB / 1.045 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/1.113, allocations: 0.7902 MB / 1.045 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/1.113, allocations: 5.344 kB / 1.045 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.113, allocations: 1 kB / 1.045 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/1.114, allocations: 0.8211 MB / 1.046 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/1.117, allocations: 1.577 MB / 1.048 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/1.117, allocations: 2.969 kB / 1.048 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007502/1.118, allocations: 165 kB / 1.048 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/1.118, allocations: 3.75 kB / 1.048 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/1.118, allocations: 18.75 kB / 1.048 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/1.118, allocations: 7.531 kB / 1.048 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.118, allocations: 7.172 kB / 1.048 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/1.12, allocations: 1.195 MB / 1.049 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004297/1.12, allocations: 169.5 kB / 1.049 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/1.12, allocations: 18.28 kB / 1.049 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000671/1.121, allocations: 25.34 kB / 1.049 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/1.121, allocations: 44.98 kB / 1.049 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/1.121, allocations: 24.61 kB / 1.049 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005192/1.122, allocations: 422.8 kB / 1.05 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.122, allocations: 0 / 1.05 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009476/1.123, allocations: 343.3 kB / 1.05 GB, free: 13.47 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.0003968/1.123, allocations: 192.2 kB / 1.05 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001136/1.124, allocations: 0.6432 MB / 1.051 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.124, allocations: 7.094 kB / 1.051 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005328/1.125, allocations: 351.5 kB / 1.051 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/1.127, allocations: 0.5147 MB / 1.052 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/1.131, allocations: 2.248 MB / 1.054 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006959/1.132, allocations: 0.4894 MB / 1.054 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/1.132, allocations: 77.36 kB / 1.054 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/1.132, allocations: 3.938 kB / 1.054 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of Templates: time 0.02947/1.162, allocations: 15.47 MB / 1.07 GB, free: 5.301 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: 12.358688625041395] Failed to read output from testmodel.py, exit status != 0: 1.170130431652069 1.1859801669999999 0.09587057999999994 Calling exit ...