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.001344/0.001344, allocations: 118.5 kB / 17.13 MB, free: 5.781 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.001336/0.001336, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.577/1.577, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.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.002468/0.002468, allocations: 282.7 kB / 303.6 MB, free: 3.719 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.165/1.165, allocations: 180.9 MB / 0.5268 GB, free: 2.668 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.002788/0.002788, allocations: 99.84 kB / 0.7259 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7329/0.7356, allocations: 94.16 MB / 0.8179 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.2905/1.026, allocations: 202.7 MB / 1.016 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01716/1.043, allocations: 7.405 MB / 1.023 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/1.045, allocations: 39.81 kB / 1.023 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002569/1.048, allocations: 0.7304 MB / 1.024 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00781/1.056, allocations: 2.485 MB / 1.026 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003907/1.059, allocations: 1.249 MB / 1.027 GB, free: 9.781 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005022/1.064, allocations: 2.914 MB / 1.03 GB, free: 6.859 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/1.066, allocations: 0.783 MB / 1.031 GB, free: 6.055 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/1.069, allocations: 1.051 MB / 1.032 GB, free: 5 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002903/1.072, allocations: 1.028 MB / 1.033 GB, free: 3.973 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004585/1.072, allocations: 108 kB / 1.033 GB, free: 3.867 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005725/1.078, allocations: 2.268 MB / 1.035 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0009061/1.079, allocations: 466.5 kB / 1.036 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001722/1.08, allocations: 0.6611 MB / 1.036 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006246/1.087, allocations: 2.41 MB / 1.039 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/1.087, allocations: 0 / 1.039 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.154e-06/1.087, allocations: 0 / 1.039 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.682e-05/1.087, allocations: 4 kB / 1.039 GB, free: 14.05 MB / 0.7794 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.005343/1.092, allocations: 1.667 MB / 1.04 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.092, allocations: 8.031 kB / 1.04 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/1.095, allocations: 382.9 kB / 1.041 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/1.097, allocations: 0.8597 MB / 1.042 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-05/1.097, allocations: 62 kB / 1.042 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/1.097, allocations: 84 kB / 1.042 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/1.099, allocations: 1.045 MB / 1.043 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/1.099, allocations: 4 kB / 1.043 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.226e-05/1.099, allocations: 32 kB / 1.043 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.929e-05/1.099, allocations: 53.92 kB / 1.043 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/1.101, allocations: 0.8822 MB / 1.044 GB, free: 8.852 MB / 0.7794 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.005925/1.107, allocations: 4.316 MB / 1.048 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/1.108, allocations: 0.6556 MB / 1.049 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008728/1.109, allocations: 441 kB / 1.049 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008343/1.11, allocations: 0.6654 MB / 1.05 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/1.11, allocations: 47.12 kB / 1.05 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=70): time 2.214e-06/1.11, allocations: 0 / 1.05 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70): time 0.002195/1.112, allocations: 0.9943 MB / 1.051 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/1.112, allocations: 55.97 kB / 1.051 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/1.113, allocations: 0.6373 MB / 1.051 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.546e-05/1.113, allocations: 41.7 kB / 1.051 GB, free: 476 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/1.114, allocations: 448.8 kB / 1.052 GB, free: 20 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/1.114, allocations: 257.9 kB / 1.052 GB, free: 15.76 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/1.114, allocations: 118.3 kB / 1.052 GB, free: 15.64 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000247/1.114, allocations: 390.7 kB / 1.053 GB, free: 15.25 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/1.115, allocations: 277.2 kB / 1.053 GB, free: 14.98 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/1.115, allocations: 357.1 kB / 1.053 GB, free: 14.61 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/1.117, allocations: 0.6626 MB / 1.054 GB, free: 13.92 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.117, allocations: 4 kB / 1.054 GB, free: 13.92 MB / 0.795 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001515/1.118, allocations: 0.7896 MB / 1.055 GB, free: 13.12 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/1.118, allocations: 8 kB / 1.055 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.118, allocations: 0 / 1.055 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/1.118, allocations: 4 kB / 1.055 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/1.119, allocations: 140 kB / 1.055 GB, free: 12.97 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.272e-05/1.119, allocations: 19.92 kB / 1.055 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008195/1.12, allocations: 63.44 kB / 1.055 GB, free: 12.89 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/1.12, allocations: 20 kB / 1.055 GB, free: 12.87 MB / 0.795 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.000475/1.12, allocations: 289.6 kB / 1.055 GB, free: 12.58 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/1.12, allocations: 83.48 kB / 1.055 GB, free: 12.5 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/1.122, allocations: 0.7959 MB / 1.056 GB, free: 11.69 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/1.122, allocations: 8 kB / 1.056 GB, free: 11.68 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.122, allocations: 3.938 kB / 1.056 GB, free: 11.68 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001269/1.123, allocations: 0.8152 MB / 1.057 GB, free: 10.81 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/1.127, allocations: 1.849 MB / 1.059 GB, free: 8.906 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.127, allocations: 4 kB / 1.059 GB, free: 8.902 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008678/1.127, allocations: 163.8 kB / 1.059 GB, free: 8.742 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.56e-05/1.127, allocations: 7.984 kB / 1.059 GB, free: 8.734 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/1.128, allocations: 12 kB / 1.059 GB, free: 8.723 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/1.128, allocations: 7.938 kB / 1.059 GB, free: 8.715 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.128, allocations: 0 / 1.059 GB, free: 8.715 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/1.13, allocations: 1.207 MB / 1.06 GB, free: 7.492 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004889/1.13, allocations: 256.3 kB / 1.06 GB, free: 7.223 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/1.13, allocations: 20 kB / 1.06 GB, free: 7.203 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006938/1.131, allocations: 22.22 kB / 1.06 GB, free: 7.184 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/1.131, allocations: 44.5 kB / 1.06 GB, free: 7.141 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/1.131, allocations: 27.92 kB / 1.06 GB, free: 7.113 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006627/1.132, allocations: 455 kB / 1.061 GB, free: 6.676 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/1.132, allocations: 4 kB / 1.061 GB, free: 6.672 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001009/1.133, allocations: 339.3 kB / 1.061 GB, free: 6.34 MB / 0.795 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.0004299/1.133, allocations: 187.1 kB / 1.061 GB, free: 6.148 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001374/1.135, allocations: 0.6447 MB / 1.062 GB, free: 5.504 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.135, allocations: 4 kB / 1.062 GB, free: 5.5 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006331/1.135, allocations: 347 kB / 1.062 GB, free: 5.164 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/1.138, allocations: 0.5479 MB / 1.063 GB, free: 4.621 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004289/1.142, allocations: 2.241 MB / 1.065 GB, free: 2.344 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009534/1.143, allocations: 1.085 MB / 1.066 GB, free: 1.23 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/1.143, allocations: 79.42 kB / 1.066 GB, free: 1.152 MB / 0.795 GB Notification: Performance of SimCode: time 1.353e-06/1.143, allocations: 0 / 1.066 GB, free: 1.152 MB / 0.795 GB Notification: Performance of Templates: time 0.03069/1.174, allocations: 15.44 MB / 1.081 GB, free: 1.855 MB / 0.8106 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.898510701954365] Failed to read output from testmodel.py, exit status != 0: 1.1844079671427608 1.198491717 0.108742086 Calling exit ...