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.001482/0.001482, allocations: 77.88 kB / 19 MB, free: 2.871 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.00182/0.00182, allocations: 158.1 kB / 22.25 MB, free: 5.145 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.47/1.47, allocations: 177.2 MB / 202.6 MB, free: 9.277 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.002582/0.002582, allocations: 243.9 kB / 259.3 MB, free: 0.5898 MB / 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.091/1.091, allocations: 138.5 MB / 454.2 MB, free: 2.074 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: 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.003211/0.003211, allocations: 110.8 kB / 0.6466 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4357, allocations: 95.35 MB / 0.7397 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.2293/0.665, allocations: 178.6 MB / 0.9141 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01211/0.6771, allocations: 6.906 MB / 0.9209 GB, free: 5.023 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.6786, allocations: 47.62 kB / 0.9209 GB, free: 4.977 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.6805, allocations: 0.6525 MB / 0.9216 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00685/0.6874, allocations: 2.532 MB / 0.924 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003563/0.6909, allocations: 1.263 MB / 0.9253 GB, free: 0.5195 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004542/0.6955, allocations: 2.965 MB / 0.9282 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.6967, allocations: 0.6976 MB / 0.9288 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.6991, allocations: 1.457 MB / 0.9303 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.7015, allocations: 0.9799 MB / 0.9312 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002411/0.7018, allocations: 108 kB / 0.9313 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004536/0.7063, allocations: 1.761 MB / 0.9331 GB, free: 8.523 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0007145/0.707, allocations: 462.5 kB / 0.9335 GB, free: 8.07 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0009277/0.708, allocations: 0.5563 MB / 0.934 GB, free: 7.512 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006234/0.7142, allocations: 2.363 MB / 0.9363 GB, free: 5.141 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.7142, allocations: 0 / 0.9363 GB, free: 5.141 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.387e-06/0.7142, allocations: 0 / 0.9363 GB, free: 5.141 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.83e-05/0.7143, allocations: 4 kB / 0.9363 GB, free: 5.137 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.005338/0.7196, allocations: 1.582 MB / 0.9379 GB, free: 3.516 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 8.177e-05/0.7197, allocations: 9.344 kB / 0.9379 GB, free: 3.508 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/0.7227, allocations: 394.8 kB / 0.9383 GB, free: 3.121 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.725, allocations: 0.7837 MB / 0.939 GB, free: 2.309 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.489e-05/0.725, allocations: 66 kB / 0.9391 GB, free: 2.246 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.7252, allocations: 87.95 kB / 0.9392 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/0.7278, allocations: 1.246 MB / 0.9404 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.423e-05/0.7278, allocations: 3.938 kB / 0.9404 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.7279, allocations: 40 kB / 0.9404 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.46e-05/0.728, allocations: 41.98 kB / 0.9405 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3596/1.088, allocations: 0.8699 MB / 0.9413 GB, free: 201.8 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.005043/1.093, allocations: 2.735 MB / 0.944 GB, free: 200.6 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/1.094, allocations: 0.6576 MB / 0.9447 GB, free: 200.3 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008358/1.095, allocations: 438.2 kB / 0.9451 GB, free: 200.1 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000411/1.095, allocations: 77.52 kB / 0.9451 GB, free: 200.1 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/1.095, allocations: 40.36 kB / 0.9452 GB, free: 200.1 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=70): time 2.765e-06/1.095, allocations: 0.8438 kB / 0.9452 GB, free: 200.1 MB / 0.7637 GB Notification: Performance of matching and sorting (n=70): time 0.002107/1.097, allocations: 1.001 MB / 0.9462 GB, free: 199.7 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/1.097, allocations: 58.91 kB / 0.9462 GB, free: 199.6 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009381/1.098, allocations: 0.5986 MB / 0.9468 GB, free: 199.3 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.116e-05/1.098, allocations: 41.39 kB / 0.9468 GB, free: 199.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/1.099, allocations: 437.5 kB / 0.9473 GB, free: 199 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/1.099, allocations: 260.3 kB / 0.9475 GB, free: 198.8 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/1.099, allocations: 115.4 kB / 0.9476 GB, free: 198.8 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.099, allocations: 384.4 kB / 0.948 GB, free: 198.4 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/1.1, allocations: 278.4 kB / 0.9482 GB, free: 198.3 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005659/1.1, allocations: 357.9 kB / 0.9486 GB, free: 198.2 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/1.101, allocations: 0.664 MB / 0.9492 GB, free: 197.8 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/1.101, allocations: 0.625 kB / 0.9492 GB, free: 197.8 MB / 0.7637 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001716/1.103, allocations: 0.7933 MB / 0.95 GB, free: 197.5 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/1.103, allocations: 10.16 kB / 0.95 GB, free: 197.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.103, allocations: 3.359 kB / 0.95 GB, free: 197.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/1.103, allocations: 4.438 kB / 0.95 GB, free: 197.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006768/1.104, allocations: 142.4 kB / 0.9502 GB, free: 197.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/1.104, allocations: 5.891 kB / 0.9502 GB, free: 197.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007855/1.105, allocations: 52.83 kB / 0.9502 GB, free: 197.4 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/1.105, allocations: 21.14 kB / 0.9502 GB, free: 197.4 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.0004315/1.105, allocations: 292.2 kB / 0.9505 GB, free: 197.2 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/1.105, allocations: 92.61 kB / 0.9506 GB, free: 197.2 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/1.107, allocations: 0.7879 MB / 0.9514 GB, free: 196.8 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/1.107, allocations: 7.094 kB / 0.9514 GB, free: 196.8 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/1.107, allocations: 6.344 kB / 0.9514 GB, free: 196.8 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001287/1.108, allocations: 0.8174 MB / 0.9522 GB, free: 196.4 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/1.111, allocations: 1.577 MB / 0.9537 GB, free: 195.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.111, allocations: 0 / 0.9537 GB, free: 195.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007857/1.112, allocations: 164.2 kB / 0.9539 GB, free: 195.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/1.112, allocations: 6.875 kB / 0.9539 GB, free: 195.6 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/1.112, allocations: 13.25 kB / 0.9539 GB, free: 195.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/1.112, allocations: 3.5 kB / 0.9539 GB, free: 195.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.112, allocations: 0 / 0.9539 GB, free: 195.6 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/1.113, allocations: 1.199 MB / 0.9551 GB, free: 195 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003605/1.114, allocations: 171 kB / 0.9552 GB, free: 194.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.712e-05/1.114, allocations: 16.94 kB / 0.9553 GB, free: 194.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/1.114, allocations: 24.23 kB / 0.9553 GB, free: 194.9 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/1.114, allocations: 48.41 kB / 0.9553 GB, free: 194.9 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/1.114, allocations: 23.8 kB / 0.9553 GB, free: 194.9 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004242/1.115, allocations: 427.3 kB / 0.9558 GB, free: 194.7 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8e-08/1.115, allocations: 0 / 0.9558 GB, free: 194.7 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007506/1.116, allocations: 342.8 kB / 0.9561 GB, free: 194.5 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.0002871/1.116, allocations: 199.3 kB / 0.9563 GB, free: 194.3 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009366/1.117, allocations: 0.6431 MB / 0.9569 GB, free: 193.8 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.117, allocations: 0 / 0.9569 GB, free: 193.8 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004084/1.117, allocations: 354.8 kB / 0.9572 GB, free: 193.5 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/1.119, allocations: 0.511 MB / 0.9577 GB, free: 193.1 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002887/1.122, allocations: 2.164 MB / 0.9599 GB, free: 191.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/1.123, allocations: 0.4946 MB / 0.9603 GB, free: 190.6 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006777/1.123, allocations: 222.8 kB / 0.9605 GB, free: 190.4 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/1.123, allocations: 64.5 kB / 0.9606 GB, free: 190.3 MB / 0.7637 GB Notification: Performance of SimCode: time 6.31e-07/1.123, allocations: 4 kB / 0.9606 GB, free: 190.3 MB / 0.7637 GB Notification: Performance of Templates: time 0.02449/1.148, allocations: 18.27 MB / 0.9785 GB, free: 172.5 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.42654288187623] Failed to read output from testmodel.py, exit status != 0: 1.1565029341727495 1.165302982 0.44820285899999995 Calling exit ...