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.0006241/0.0006241, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008336/0.001458, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006531/0.0006531, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008677/0.001521, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.906/0.906, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08893/0.995, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001278/0.001278, allocations: 234 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.002288, allocations: 471.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6792/0.6792, allocations: 138.7 MB / 384.3 MB, free: 368 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07117/0.7504, allocations: 42.41 MB / 426.7 MB, free: 5.824 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.733e-06/1.733e-06, allocations: 0 / 428 MB, free: 4.492 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.519e-05/1.692e-05, allocations: 2.312 kB / 428.1 MB, free: 4.488 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.3128/0.3128, allocations: 151.1 MB / 0.5656 GB, free: 9.281 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.005624/0.3185, allocations: 4.301 MB / 0.5698 GB, free: 4.996 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004822/0.3189, allocations: 47.62 kB / 0.5698 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0005225/0.3195, allocations: 301.8 kB / 0.5701 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.3212, allocations: 1.376 MB / 0.5715 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.3222, allocations: 0.7361 MB / 0.5722 GB, free: 2.535 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001946/0.3241, allocations: 2.941 MB / 0.575 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.3253, allocations: 0.7769 MB / 0.5758 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.3268, allocations: 1.651 MB / 0.5774 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000699/0.3275, allocations: 0.8469 MB / 0.5782 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.972e-05/0.3276, allocations: 108 kB / 0.5784 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005629/0.3281, allocations: 443 kB / 0.5788 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.3284, allocations: 418.9 kB / 0.5792 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003035/0.3287, allocations: 403.3 kB / 0.5796 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0008754/0.3296, allocations: 1.098 MB / 0.5806 GB, free: 9.918 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.3296, allocations: 0 / 0.5806 GB, free: 9.918 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3296, allocations: 4 kB / 0.5806 GB, free: 9.914 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.3296, allocations: 0 / 0.5806 GB, free: 9.914 MB / 0.5573 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.001632/0.3312, allocations: 1.733 MB / 0.5823 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.3312, allocations: 8.031 kB / 0.5823 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.3323, allocations: 444.1 kB / 0.5828 GB, free: 7.699 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006993/0.333, allocations: 0.6247 MB / 0.5834 GB, free: 7.043 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.333, allocations: 61.94 kB / 0.5834 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.589e-05/0.3331, allocations: 91.98 kB / 0.5835 GB, free: 6.895 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007715/0.3339, allocations: 0.8696 MB / 0.5844 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.3339, allocations: 0 / 0.5844 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.981e-05/0.334, allocations: 36 kB / 0.5844 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.453e-05/0.334, allocations: 45.92 kB / 0.5844 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.3343, allocations: 289.7 kB / 0.5847 GB, free: 5.574 MB / 0.5573 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.002019/0.3364, allocations: 2.282 MB / 0.5869 GB, free: 3.238 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.3368, allocations: 356.1 kB / 0.5873 GB, free: 2.887 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.337, allocations: 215.3 kB / 0.5875 GB, free: 2.676 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/0.3372, allocations: 88.58 kB / 0.5876 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.3372, allocations: 43.22 kB / 0.5876 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=70): time 1.553e-06/0.3372, allocations: 0 / 0.5876 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70): time 0.0005301/0.3377, allocations: 401.8 kB / 0.588 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.3378, allocations: 60.06 kB / 0.5881 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.3381, allocations: 0.535 MB / 0.5886 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.3381, allocations: 41.7 kB / 0.5886 GB, free: 1.484 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.3383, allocations: 382.4 kB / 0.589 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.3384, allocations: 261.7 kB / 0.5892 GB, free: 0.8438 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.3385, allocations: 126.5 kB / 0.5894 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003616/0.3389, allocations: 406.5 kB / 0.5897 GB, free: 316 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.339, allocations: 80.8 kB / 0.5898 GB, free: 232 kB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.3391, allocations: 238.8 kB / 0.59 GB, free: 15.94 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.3395, allocations: 410.6 kB / 0.5904 GB, free: 15.48 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3395, allocations: 3.938 kB / 0.5904 GB, free: 15.48 MB / 0.573 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004105/0.3399, allocations: 416.1 kB / 0.5908 GB, free: 15.06 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3399, allocations: 8 kB / 0.5908 GB, free: 15.05 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3399, allocations: 7.656 kB / 0.5909 GB, free: 15.05 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3399, allocations: 8 kB / 0.5909 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.3403, allocations: 191.7 kB / 0.591 GB, free: 14.86 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3403, allocations: 16.78 kB / 0.5911 GB, free: 14.84 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.3406, allocations: 55.81 kB / 0.5911 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.3407, allocations: 20 kB / 0.5911 GB, free: 14.77 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (94): * Single equations (assignments): 94 * 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.0001464/0.3408, allocations: 160.4 kB / 0.5913 GB, free: 14.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.839e-05/0.3409, allocations: 79.91 kB / 0.5914 GB, free: 14.52 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004294/0.3413, allocations: 395.7 kB / 0.5917 GB, free: 14.12 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.3413, allocations: 8 kB / 0.5917 GB, free: 14.11 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3413, allocations: 1.625 kB / 0.5917 GB, free: 14.11 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002817/0.3416, allocations: 421.2 kB / 0.5921 GB, free: 13.65 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008574/0.3425, allocations: 0.8668 MB / 0.593 GB, free: 12.76 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3425, allocations: 0 / 0.593 GB, free: 12.76 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005456/0.343, allocations: 226.1 kB / 0.5932 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.3432, allocations: 127.3 kB / 0.5933 GB, free: 12.42 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3432, allocations: 7.938 kB / 0.5933 GB, free: 12.41 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.3432, allocations: 15.98 kB / 0.5934 GB, free: 12.39 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3432, allocations: 0 / 0.5934 GB, free: 12.39 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3432, allocations: 0 / 0.5934 GB, free: 12.39 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005022/0.3437, allocations: 0.5675 MB / 0.5939 GB, free: 11.81 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.104e-05/0.3438, allocations: 24.8 kB / 0.5939 GB, free: 11.79 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.344, allocations: 14.03 kB / 0.5939 GB, free: 11.77 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.3441, allocations: 44.56 kB / 0.594 GB, free: 11.73 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.3441, allocations: 19.98 kB / 0.594 GB, free: 11.71 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001603/0.3443, allocations: 256.5 kB / 0.5943 GB, free: 11.46 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3443, allocations: 0 / 0.5943 GB, free: 11.46 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004232/0.3447, allocations: 347.3 kB / 0.5946 GB, free: 11.12 MB / 0.573 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.0001918/0.3449, allocations: 132.2 kB / 0.5947 GB, free: 10.99 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003454/0.3452, allocations: 342.4 kB / 0.595 GB, free: 10.65 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/0.3453, allocations: 12 kB / 0.595 GB, free: 10.64 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.3455, allocations: 231.1 kB / 0.5953 GB, free: 10.41 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.3475, allocations: 3.202 MB / 0.5984 GB, free: 6.676 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004936/0.3524, allocations: 1.725 MB / 0.6001 GB, free: 4.914 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.3525, allocations: 241.3 kB / 0.6003 GB, free: 4.656 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003789/0.3529, allocations: 162.2 kB / 0.6005 GB, free: 4.508 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006264/0.3535, allocations: 371.1 kB / 0.6008 GB, free: 4.141 MB / 0.573 GB Notification: Performance of SimCode: time 8.02e-07/0.3535, allocations: 0 / 0.6008 GB, free: 4.141 MB / 0.573 GB Notification: Performance of Templates: time 0.02091/0.3745, allocations: 20.57 MB / 0.6209 GB, free: 156 kB / 0.5886 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7315386570990086]