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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 189.3 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.00273/0.00273, allocations: 289.8 kB / 306.6 MB, free: 8.32 MB / 238.1 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 1.299/1.299, allocations: 180.9 MB / 0.53 GB, free: 14.41 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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002783/0.002783, allocations: 102.2 kB / 0.7308 GB, free: 38.63 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.2003, allocations: 94.2 MB / 0.8228 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.7953/0.9957, allocations: 203.1 MB / 1.021 GB, free: 3.551 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01311/1.009, allocations: 7.439 MB / 1.028 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/1.011, allocations: 51.75 kB / 1.028 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002091/1.013, allocations: 0.7299 MB / 1.029 GB, free: 3.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007625/1.021, allocations: 2.536 MB / 1.032 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003815/1.024, allocations: 1.285 MB / 1.033 GB, free: 3.363 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005827/1.03, allocations: 2.987 MB / 1.036 GB, free: 3.363 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/1.032, allocations: 0.7091 MB / 1.037 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002916/1.035, allocations: 1.068 MB / 1.038 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002899/1.038, allocations: 1.026 MB / 1.039 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002756/1.038, allocations: 110.1 kB / 1.039 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005526/1.043, allocations: 2.303 MB / 1.041 GB, free: 3.285 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006529/1.044, allocations: 470.4 kB / 1.041 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001213/1.045, allocations: 0.6633 MB / 1.042 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005137/1.05, allocations: 2.417 MB / 1.044 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.05, allocations: 0 / 1.044 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.395e-06/1.05, allocations: 0.9375 kB / 1.044 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.403e-05/1.05, allocations: 0 / 1.044 GB, free: 3.137 MB / 0.7481 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.003178/1.054, allocations: 1.588 MB / 1.046 GB, free: 2.367 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.054, allocations: 11.03 kB / 1.046 GB, free: 2.367 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/1.056, allocations: 376.7 kB / 1.046 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/1.057, allocations: 0.7825 MB / 1.047 GB, free: 2.035 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/1.057, allocations: 69.77 kB / 1.047 GB, free: 2.035 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/1.058, allocations: 87.92 kB / 1.047 GB, free: 2.035 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/1.059, allocations: 1.041 MB / 1.048 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/1.059, allocations: 7.031 kB / 1.048 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.739e-05/1.059, allocations: 36.06 kB / 1.048 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-05/1.059, allocations: 43.19 kB / 1.048 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/1.061, allocations: 0.885 MB / 1.049 GB, free: 1.887 MB / 0.7481 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.005132/1.066, allocations: 4.25 MB / 1.053 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.067, allocations: 0.6622 MB / 1.054 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007404/1.068, allocations: 438.9 kB / 1.054 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003975/1.068, allocations: 77.03 kB / 1.054 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/1.068, allocations: 46.27 kB / 1.055 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=70): time 2.514e-06/1.068, allocations: 0.8125 kB / 1.055 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of matching and sorting (n=70): time 0.001865/1.07, allocations: 1.001 MB / 1.055 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/1.07, allocations: 57.19 kB / 1.056 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007568/1.071, allocations: 0.633 MB / 1.056 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.053e-05/1.071, allocations: 40.19 kB / 1.056 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/1.071, allocations: 443.6 kB / 1.057 GB, free: 14.85 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/1.071, allocations: 263.4 kB / 1.057 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/1.071, allocations: 120.2 kB / 1.057 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002413/1.072, allocations: 391.1 kB / 1.057 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/1.072, allocations: 273.2 kB / 1.058 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/1.073, allocations: 358.1 kB / 1.058 GB, free: 14.28 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008746/1.073, allocations: 0.6602 MB / 1.059 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.073, allocations: 2.469 kB / 1.059 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001155/1.075, allocations: 0.7993 MB / 1.059 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/1.075, allocations: 6.906 kB / 1.059 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.075, allocations: 0 / 1.059 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.075, allocations: 5.062 kB / 1.059 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/1.075, allocations: 145.4 kB / 1.06 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.075, allocations: 5.156 kB / 1.06 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008141/1.076, allocations: 55.47 kB / 1.06 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/1.076, allocations: 20.22 kB / 1.06 GB, free: 14.09 MB / 0.7637 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.0004516/1.077, allocations: 296.6 kB / 1.06 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/1.077, allocations: 91.84 kB / 1.06 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/1.078, allocations: 0.797 MB / 1.061 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/1.078, allocations: 7.438 kB / 1.061 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.078, allocations: 0.9062 kB / 1.061 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/1.079, allocations: 0.8195 MB / 1.062 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/1.082, allocations: 1.827 MB / 1.063 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.082, allocations: 1.531 kB / 1.063 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007945/1.082, allocations: 172.9 kB / 1.064 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/1.082, allocations: 6.312 kB / 1.064 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/1.082, allocations: 16.16 kB / 1.064 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.84e-06/1.082, allocations: 3.438 kB / 1.064 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.082, allocations: 1.094 kB / 1.064 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/1.084, allocations: 1.205 MB / 1.065 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005034/1.085, allocations: 178.2 kB / 1.065 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/1.085, allocations: 18.53 kB / 1.065 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006422/1.086, allocations: 20.75 kB / 1.065 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/1.086, allocations: 46.2 kB / 1.065 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/1.086, allocations: 23.86 kB / 1.065 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006121/1.086, allocations: 457.6 kB / 1.065 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/1.086, allocations: 0 / 1.065 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008846/1.087, allocations: 338.1 kB / 1.066 GB, free: 12.89 MB / 0.7637 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.0003467/1.088, allocations: 192.7 kB / 1.066 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.089, allocations: 0.6488 MB / 1.067 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.089, allocations: 2.266 kB / 1.067 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004671/1.089, allocations: 352.1 kB / 1.067 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/1.091, allocations: 0.5556 MB / 1.067 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/1.095, allocations: 2.184 MB / 1.07 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007117/1.096, allocations: 1.088 MB / 1.071 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008235/1.097, allocations: 231.1 kB / 1.071 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/1.097, allocations: 74.95 kB / 1.071 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of SimCode: time 9.42e-07/1.097, allocations: 0 / 1.071 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of Templates: time 0.03334/1.13, allocations: 18.99 MB / 1.09 GB, free: 5.391 MB / 0.7637 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.740289146080613] Failed to read output from testmodel.py, exit status != 0: 1.1384975649416447 1.151914105 0.09823839000000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3acf4617b0>