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.001303/0.001303, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001479/0.001479, allocations: 158 kB / 23.01 MB, free: 4.949 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.412/1.412, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.002439/0.002439, allocations: 241.6 kB / 260 MB, free: 436 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 0.9242/0.9242, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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.003104/0.003104, allocations: 103.8 kB / 0.6473 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4071, allocations: 95.34 MB / 0.7404 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.2205/0.6276, allocations: 178.8 MB / 0.915 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01224/0.6399, allocations: 6.906 MB / 0.9218 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.6412, allocations: 47.62 kB / 0.9218 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002011/0.6432, allocations: 0.6564 MB / 0.9225 GB, free: 7.84 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006912/0.6501, allocations: 2.532 MB / 0.9249 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003501/0.6536, allocations: 1.262 MB / 0.9262 GB, free: 4.039 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004597/0.6582, allocations: 2.957 MB / 0.9291 GB, free: 1.07 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.6595, allocations: 0.7016 MB / 0.9298 GB, free: 360 kB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.6615, allocations: 1.078 MB / 0.9308 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002408/0.6639, allocations: 0.9864 MB / 0.9318 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.6641, allocations: 112 kB / 0.9319 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004033/0.6682, allocations: 1.757 MB / 0.9336 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005973/0.6688, allocations: 462.6 kB / 0.934 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0008313/0.6696, allocations: 0.5602 MB / 0.9346 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004055/0.6737, allocations: 2.355 MB / 0.9369 GB, free: 9.039 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6737, allocations: 7.875 kB / 0.9369 GB, free: 9.031 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6737, allocations: 3.938 kB / 0.9369 GB, free: 9.027 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.6737, allocations: 0 / 0.9369 GB, free: 9.027 MB / 0.7637 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.003423/0.6771, allocations: 1.578 MB / 0.9384 GB, free: 7.41 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.6771, allocations: 9.344 kB / 0.9384 GB, free: 7.402 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002594/0.6797, allocations: 394.8 kB / 0.9388 GB, free: 7.016 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.6814, allocations: 0.7876 MB / 0.9396 GB, free: 6.199 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.908e-05/0.6814, allocations: 66 kB / 0.9397 GB, free: 6.137 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.6816, allocations: 87.95 kB / 0.9397 GB, free: 6.051 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.6836, allocations: 1.239 MB / 0.9409 GB, free: 4.727 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.6836, allocations: 4 kB / 0.9409 GB, free: 4.723 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.6837, allocations: 43.92 kB / 0.941 GB, free: 4.68 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.843e-05/0.6838, allocations: 38 kB / 0.941 GB, free: 4.645 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.6854, allocations: 0.8783 MB / 0.9419 GB, free: 3.762 MB / 0.7637 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.00473/0.6902, allocations: 2.737 MB / 0.9446 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.6914, allocations: 0.6564 MB / 0.9452 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008861/0.6923, allocations: 439.2 kB / 0.9456 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003722/0.6927, allocations: 76.59 kB / 0.9457 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.6927, allocations: 39.22 kB / 0.9457 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=70): time 3.005e-06/0.6927, allocations: 3.938 kB / 0.9457 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70): time 0.002169/0.6949, allocations: 1.001 MB / 0.9467 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.6949, allocations: 60.06 kB / 0.9468 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008459/0.6958, allocations: 0.5902 MB / 0.9473 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.6958, allocations: 37.7 kB / 0.9474 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.6962, allocations: 440.8 kB / 0.9478 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.6964, allocations: 261.7 kB / 0.948 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.6966, allocations: 118.3 kB / 0.9482 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002449/0.6969, allocations: 386.7 kB / 0.9485 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005146/0.6974, allocations: 277.2 kB / 0.9488 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/0.698, allocations: 357.1 kB / 0.9491 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.6991, allocations: 0.6629 MB / 0.9498 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6991, allocations: 0 / 0.9498 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001456/0.7006, allocations: 0.7935 MB / 0.9506 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.7006, allocations: 4 kB / 0.9506 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.7006, allocations: 4 kB / 0.9506 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.7006, allocations: 4 kB / 0.9506 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007211/0.7013, allocations: 147.7 kB / 0.9507 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.7014, allocations: 4 kB / 0.9507 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007505/0.7021, allocations: 47.67 kB / 0.9508 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.7022, allocations: 28.17 kB / 0.9508 GB, free: 10.47 MB / 0.7794 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.0004493/0.7026, allocations: 285.6 kB / 0.9511 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.7028, allocations: 91.42 kB / 0.9511 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.7044, allocations: 0.7938 MB / 0.9519 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.7044, allocations: 8 kB / 0.9519 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7044, allocations: 4 kB / 0.9519 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001216/0.7056, allocations: 0.8213 MB / 0.9527 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.7085, allocations: 1.578 MB / 0.9543 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.7085, allocations: 0 / 0.9543 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000872/0.7094, allocations: 159.8 kB / 0.9544 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/0.7094, allocations: 7.938 kB / 0.9544 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.448e-05/0.7094, allocations: 19.98 kB / 0.9545 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.7094, allocations: 8 kB / 0.9545 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7094, allocations: 0 / 0.9545 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.7115, allocations: 1.194 MB / 0.9556 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/0.7119, allocations: 171.2 kB / 0.9558 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.805e-05/0.712, allocations: 16 kB / 0.9558 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006295/0.7126, allocations: 19.98 kB / 0.9558 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.7128, allocations: 48.56 kB / 0.9559 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-05/0.7128, allocations: 20 kB / 0.9559 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005557/0.7134, allocations: 423 kB / 0.9563 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7134, allocations: 4 kB / 0.9563 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0009091/0.7143, allocations: 343.3 kB / 0.9566 GB, free: 4.363 MB / 0.7794 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.0003513/0.7146, allocations: 199 kB / 0.9568 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.7158, allocations: 0.6459 MB / 0.9574 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.7158, allocations: 0 / 0.9574 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005802/0.7164, allocations: 347.6 kB / 0.9578 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/0.7187, allocations: 0.5182 MB / 0.9583 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003742/0.7224, allocations: 2.168 MB / 0.9604 GB, free: 488 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/0.723, allocations: 0.4907 MB / 0.9609 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0007401/0.7238, allocations: 226.7 kB / 0.9611 GB, free: 15.73 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.724, allocations: 72.48 kB / 0.9612 GB, free: 15.66 MB / 0.795 GB Notification: Performance of SimCode: time 9.42e-07/0.724, allocations: 3.938 kB / 0.9612 GB, free: 15.65 MB / 0.795 GB Notification: Performance of Templates: time 0.03235/0.7563, allocations: 18.26 MB / 0.979 GB, free: 13.86 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.965514860930853] Failed to read output from testmodel.py, exit status != 0: 0.764725684071891 1.073912022 0.102914299 Calling exit ...