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.001293/0.001293, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001378/0.001378, allocations: 219.3 kB / 23.01 MB, free: 4.609 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.002519/0.002519, allocations: 282.8 kB / 313.5 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.229/1.229, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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: 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.002871/0.002871, allocations: 99.11 kB / 0.7408 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.178, allocations: 95.39 MB / 0.8339 GB, free: 8.195 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.6438/0.8218, allocations: 206.1 MB / 1.035 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0102/0.832, allocations: 7.436 MB / 1.042 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/0.8339, allocations: 50.38 kB / 1.043 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.8359, allocations: 0.7268 MB / 1.043 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006087/0.842, allocations: 2.533 MB / 1.046 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003109/0.8451, allocations: 1.281 MB / 1.047 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004006/0.8491, allocations: 2.991 MB / 1.05 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.8501, allocations: 0.7147 MB / 1.051 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.8519, allocations: 1.062 MB / 1.052 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.8539, allocations: 1.036 MB / 1.053 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.8541, allocations: 111.3 kB / 1.053 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004305/0.8584, allocations: 2.294 MB / 1.055 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004921/0.8589, allocations: 472.1 kB / 1.055 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008583/0.8597, allocations: 0.6661 MB / 1.056 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005455/0.8652, allocations: 2.413 MB / 1.058 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.8652, allocations: 2.812 kB / 1.058 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8652, allocations: 0 / 1.058 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.53e-05/0.8652, allocations: 0.7188 kB / 1.058 GB, free: 2.086 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.003939/0.8692, allocations: 1.591 MB / 1.06 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.8692, allocations: 9.75 kB / 1.06 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/0.8716, allocations: 386.5 kB / 1.06 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.873, allocations: 0.778 MB / 1.061 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.873, allocations: 64.89 kB / 1.061 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.8732, allocations: 89.58 kB / 1.061 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.8747, allocations: 1.04 MB / 1.062 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.8747, allocations: 2.594 kB / 1.062 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/0.8748, allocations: 36.44 kB / 1.062 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.118e-05/0.8749, allocations: 45.55 kB / 1.062 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.8762, allocations: 0.8815 MB / 1.063 GB, free: 15.79 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.005249/0.8815, allocations: 4.252 MB / 1.067 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.8826, allocations: 0.6588 MB / 1.068 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000754/0.8833, allocations: 439.8 kB / 1.068 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003821/0.8837, allocations: 78.7 kB / 1.069 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.8838, allocations: 40.88 kB / 1.069 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.525e-06/0.8838, allocations: 0 / 1.069 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001892/0.8857, allocations: 1.003 MB / 1.07 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.8857, allocations: 59.88 kB / 1.07 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007973/0.8865, allocations: 0.6364 MB / 1.07 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.8866, allocations: 36.7 kB / 1.07 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.8869, allocations: 446.4 kB / 1.071 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.8872, allocations: 258.3 kB / 1.071 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.8873, allocations: 117.4 kB / 1.071 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.8875, allocations: 396.1 kB / 1.071 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/0.888, allocations: 275.1 kB / 1.072 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004995/0.8885, allocations: 364.6 kB / 1.072 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009657/0.8894, allocations: 0.6601 MB / 1.073 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8894, allocations: 3.312 kB / 1.073 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001277/0.8907, allocations: 0.8013 MB / 1.073 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.8907, allocations: 8.688 kB / 1.073 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.8907, allocations: 5.531 kB / 1.073 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.8908, allocations: 4.75 kB / 1.073 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/0.8914, allocations: 141.8 kB / 1.074 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.8914, allocations: 2.781 kB / 1.074 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007473/0.8922, allocations: 54.23 kB / 1.074 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.8922, allocations: 24.34 kB / 1.074 GB, free: 8.945 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.0004875/0.8927, allocations: 293.5 kB / 1.074 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.8928, allocations: 89.34 kB / 1.074 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.8942, allocations: 0.7962 MB / 1.075 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.8942, allocations: 6.094 kB / 1.075 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.8942, allocations: 3.219 kB / 1.075 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001065/0.8953, allocations: 0.821 MB / 1.076 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002737/0.898, allocations: 1.826 MB / 1.077 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.898, allocations: 0 / 1.077 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007924/0.8988, allocations: 171 kB / 1.078 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.8988, allocations: 2.562 kB / 1.078 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/0.8989, allocations: 23.27 kB / 1.078 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.8989, allocations: 6.5 kB / 1.078 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.8989, allocations: 0 / 1.078 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.9006, allocations: 1.205 MB / 1.079 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004396/0.901, allocations: 174.2 kB / 1.079 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.9011, allocations: 13.03 kB / 1.079 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006077/0.9017, allocations: 23.67 kB / 1.079 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.9018, allocations: 47.31 kB / 1.079 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.9019, allocations: 28.64 kB / 1.079 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005351/0.9024, allocations: 450 kB / 1.079 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9024, allocations: 0.9688 kB / 1.079 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000856/0.9033, allocations: 336.5 kB / 1.08 GB, free: 5.254 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.0003547/0.9036, allocations: 195.5 kB / 1.08 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.9048, allocations: 0.6465 MB / 1.081 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9048, allocations: 1.781 kB / 1.081 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.9053, allocations: 347.9 kB / 1.081 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.9075, allocations: 0.5571 MB / 1.081 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.9111, allocations: 2.242 MB / 1.084 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007024/0.9118, allocations: 1.09 MB / 1.085 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/0.9121, allocations: 78.95 kB / 1.085 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of SimCode: time 1.192e-06/0.9121, allocations: 0 / 1.085 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of Templates: time 0.02735/0.9394, allocations: 15.44 MB / 1.1 GB, free: 3.586 MB / 0.7481 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: 11.39448952791281] Failed to read output from testmodel.py, exit status != 0: 0.9478725730441511 0.964747662 0.09613809000000001 Calling exit ...