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.001797/0.001797, allocations: 81.34 kB / 19.18 MB, free: 2.379 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.002358/0.002358, allocations: 175.2 kB / 22.47 MB, free: 4.992 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.468/1.468, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.002442/0.002442, allocations: 231.2 kB / 259.4 MB, free: 480 kB / 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.061/1.061, allocations: 138.4 MB / 454.3 MB, free: 1.996 MB / 366.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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 0.6468 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.094e-05, allocations: 6.281 kB / 0.6468 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.456/0.456, allocations: 178.6 MB / 0.8212 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01179/0.4678, allocations: 6.909 MB / 0.8279 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.4688, allocations: 51.62 kB / 0.828 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.4706, allocations: 0.6561 MB / 0.8286 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006472/0.477, allocations: 2.584 MB / 0.8311 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00336/0.4804, allocations: 1.289 MB / 0.8324 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004333/0.4847, allocations: 3.018 MB / 0.8353 GB, free: 15.26 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.4859, allocations: 0.6976 MB / 0.836 GB, free: 14.55 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00232/0.4883, allocations: 1.426 MB / 0.8374 GB, free: 13.12 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00199/0.4902, allocations: 0.9049 MB / 0.8383 GB, free: 12.21 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000202/0.4904, allocations: 112 kB / 0.8384 GB, free: 12.11 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003833/0.4943, allocations: 1.779 MB / 0.8401 GB, free: 10.32 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005786/0.4949, allocations: 494.5 kB / 0.8406 GB, free: 9.836 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007443/0.4956, allocations: 483 kB / 0.8411 GB, free: 9.363 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003988/0.4996, allocations: 2.429 MB / 0.8434 GB, free: 6.93 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4996, allocations: 3.938 kB / 0.8434 GB, free: 6.926 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4996, allocations: 0 / 0.8434 GB, free: 6.926 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.4996, allocations: 0 / 0.8434 GB, free: 6.926 MB / 0.67 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.003408/0.503, allocations: 1.574 MB / 0.845 GB, free: 5.312 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.5031, allocations: 9.344 kB / 0.845 GB, free: 5.305 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002665/0.5057, allocations: 386.8 kB / 0.8454 GB, free: 4.926 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.5072, allocations: 0.7838 MB / 0.8461 GB, free: 4.113 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-05/0.5073, allocations: 61.98 kB / 0.8462 GB, free: 4.055 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.5074, allocations: 91.89 kB / 0.8463 GB, free: 3.965 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.5095, allocations: 1.246 MB / 0.8475 GB, free: 2.633 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.5095, allocations: 0 / 0.8475 GB, free: 2.633 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.5096, allocations: 36 kB / 0.8475 GB, free: 2.598 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-05/0.5097, allocations: 49.92 kB / 0.8476 GB, free: 2.551 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.5114, allocations: 0.8783 MB / 0.8484 GB, free: 1.668 MB / 0.67 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.004466/0.5158, allocations: 2.734 MB / 0.8511 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.5171, allocations: 0.6503 MB / 0.8517 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008748/0.5179, allocations: 435.2 kB / 0.8521 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003915/0.5183, allocations: 84.58 kB / 0.8522 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.5184, allocations: 43.22 kB / 0.8523 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=70): time 2.605e-06/0.5184, allocations: 0 / 0.8523 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of matching and sorting (n=70): time 0.002137/0.5205, allocations: 0.9971 MB / 0.8532 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.5206, allocations: 60.06 kB / 0.8533 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007927/0.5214, allocations: 0.5902 MB / 0.8539 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.902e-05/0.5214, allocations: 41.55 kB / 0.8539 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003702/0.5218, allocations: 444.7 kB / 0.8543 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.5221, allocations: 261.7 kB / 0.8546 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.5223, allocations: 110.3 kB / 0.8547 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.5225, allocations: 386.8 kB / 0.8551 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005294/0.523, allocations: 273.2 kB / 0.8553 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006091/0.5236, allocations: 361 kB / 0.8557 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.5248, allocations: 0.6654 MB / 0.8563 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.5248, allocations: 7.938 kB / 0.8563 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00149/0.5263, allocations: 0.7897 MB / 0.8571 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5263, allocations: 4 kB / 0.8571 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.5263, allocations: 7.984 kB / 0.8571 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.5264, allocations: 4 kB / 0.8571 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006997/0.5271, allocations: 143.8 kB / 0.8572 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.5271, allocations: 4 kB / 0.8573 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007495/0.5278, allocations: 51.66 kB / 0.8573 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/0.5279, allocations: 20 kB / 0.8573 GB, free: 8.379 MB / 0.6856 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.0004462/0.5283, allocations: 293.6 kB / 0.8576 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.5285, allocations: 87.48 kB / 0.8577 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.5301, allocations: 0.7973 MB / 0.8585 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.5301, allocations: 4 kB / 0.8585 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5301, allocations: 0 / 0.8585 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001295/0.5314, allocations: 0.8252 MB / 0.8593 GB, free: 6.312 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/0.5342, allocations: 1.57 MB / 0.8608 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.5342, allocations: 4 kB / 0.8608 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008972/0.5351, allocations: 163.8 kB / 0.861 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.5351, allocations: 4 kB / 0.861 GB, free: 4.535 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.494e-05/0.5351, allocations: 15.98 kB / 0.861 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.266e-05/0.5351, allocations: 4 kB / 0.861 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.5351, allocations: 7.188 kB / 0.861 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.5372, allocations: 1.194 MB / 0.8622 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.5376, allocations: 171.3 kB / 0.8623 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.5377, allocations: 16 kB / 0.8623 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006516/0.5383, allocations: 23.92 kB / 0.8624 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.5385, allocations: 44.56 kB / 0.8624 GB, free: 3.051 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-05/0.5385, allocations: 24 kB / 0.8624 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005543/0.5391, allocations: 423 kB / 0.8628 GB, free: 2.621 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5391, allocations: 3.938 kB / 0.8628 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008418/0.5399, allocations: 339.3 kB / 0.8632 GB, free: 2.285 MB / 0.6856 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.0003532/0.5403, allocations: 204.5 kB / 0.8634 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.5415, allocations: 0.6461 MB / 0.864 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5415, allocations: 6.688 kB / 0.864 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006006/0.5421, allocations: 347.6 kB / 0.8643 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.5445, allocations: 0.503 MB / 0.8648 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003384/0.5479, allocations: 1.988 MB / 0.8668 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005752/0.5485, allocations: 0.4944 MB / 0.8672 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007149/0.5492, allocations: 218.9 kB / 0.8674 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.5494, allocations: 72.48 kB / 0.8675 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of SimCode: time 3.41e-07/0.5494, allocations: 4 kB / 0.8675 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of Templates: time 0.03218/0.5816, allocations: 18.09 MB / 0.8852 GB, free: 12.17 MB / 0.7169 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: 6.658182732760906] Failed to read output from testmodel.py, exit status != 0: 0.5905837900936604 0.605237239 0.10236663300000001 Calling exit ...