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.0008312/0.0008312, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008988/0.0008988, allocations: 178.2 kB / 23.22 MB, free: 1.344 MB / 18.57 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.8715/0.8715, allocations: 177.1 MB / 203.5 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] 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.001428/0.001428, allocations: 230.1 kB / 260.2 MB, free: 13.04 MB / 250.7 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.6621/0.6621, allocations: 138.4 MB / 455.1 MB, free: 29.95 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 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: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 0.6475 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.388e-05, allocations: 6.281 kB / 0.6475 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.3559/0.356, allocations: 178.6 MB / 0.8219 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.007127/0.3631, allocations: 6.914 MB / 0.8286 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00057/0.3636, allocations: 47.62 kB / 0.8287 GB, free: 1.086 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.3648, allocations: 0.6677 MB / 0.8293 GB, free: 424 kB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003649/0.3684, allocations: 2.582 MB / 0.8319 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.3703, allocations: 1.285 MB / 0.8331 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.002411/0.3727, allocations: 3.011 MB / 0.8361 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006421/0.3734, allocations: 0.7054 MB / 0.8367 GB, free: 8.789 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.3747, allocations: 1.418 MB / 0.8381 GB, free: 7.367 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.3758, allocations: 0.9032 MB / 0.839 GB, free: 6.469 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 9.925e-05/0.3759, allocations: 108 kB / 0.8391 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.3781, allocations: 1.791 MB / 0.8409 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.3784, allocations: 494.5 kB / 0.8413 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003317/0.3788, allocations: 486.9 kB / 0.8418 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.3807, allocations: 2.427 MB / 0.8442 GB, free: 1.172 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3807, allocations: 0 / 0.8442 GB, free: 1.172 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3807, allocations: 0 / 0.8442 GB, free: 1.172 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.3807, allocations: 0 / 0.8442 GB, free: 1.172 MB / 0.6667 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.001891/0.3826, allocations: 1.574 MB / 0.8457 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.3826, allocations: 9.938 kB / 0.8457 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.3838, allocations: 394.8 kB / 0.8461 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009268/0.3847, allocations: 0.7798 MB / 0.8469 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.3847, allocations: 62 kB / 0.8469 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.064e-05/0.3848, allocations: 91.89 kB / 0.847 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.3863, allocations: 1.247 MB / 0.8482 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.3863, allocations: 4 kB / 0.8482 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.433e-05/0.3864, allocations: 32 kB / 0.8483 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.734e-05/0.3864, allocations: 45.98 kB / 0.8483 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009668/0.3874, allocations: 0.8743 MB / 0.8491 GB, free: 11.92 MB / 0.6823 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.002685/0.39, allocations: 2.739 MB / 0.8518 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007415/0.3908, allocations: 0.6687 MB / 0.8525 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004814/0.3913, allocations: 433.5 kB / 0.8529 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/0.3915, allocations: 76.59 kB / 0.853 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.3915, allocations: 43.22 kB / 0.853 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 1.863e-06/0.3915, allocations: 0 / 0.853 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001153/0.3927, allocations: 0.9933 MB / 0.854 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.3927, allocations: 60.06 kB / 0.854 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004459/0.3931, allocations: 0.5941 MB / 0.8546 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.3932, allocations: 41.7 kB / 0.8547 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.3934, allocations: 444.7 kB / 0.8551 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.3935, allocations: 257.7 kB / 0.8553 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.3936, allocations: 118.3 kB / 0.8554 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3937, allocations: 382.8 kB / 0.8558 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.394, allocations: 273.2 kB / 0.8561 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.3944, allocations: 353.1 kB / 0.8564 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/0.395, allocations: 0.6668 MB / 0.857 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.395, allocations: 3.938 kB / 0.8571 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007898/0.3958, allocations: 0.7936 MB / 0.8578 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3958, allocations: 8.625 kB / 0.8578 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3958, allocations: 2.156 kB / 0.8578 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3958, allocations: 4 kB / 0.8578 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.3962, allocations: 147.8 kB / 0.858 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3962, allocations: 4 kB / 0.858 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.3965, allocations: 39.73 kB / 0.858 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.3965, allocations: 33.05 kB / 0.8581 GB, free: 2.621 MB / 0.6823 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.0002486/0.3968, allocations: 293.6 kB / 0.8583 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.464e-05/0.3968, allocations: 83.48 kB / 0.8584 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.3979, allocations: 0.7993 MB / 0.8592 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3979, allocations: 8 kB / 0.8592 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3979, allocations: 0 / 0.8592 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006718/0.3986, allocations: 0.8175 MB / 0.86 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.4001, allocations: 1.575 MB / 0.8615 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4001, allocations: 0 / 0.8615 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.4005, allocations: 167.8 kB / 0.8617 GB, free: 14.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.4005, allocations: 1.5 kB / 0.8617 GB, free: 14.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.4006, allocations: 23.98 kB / 0.8617 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4006, allocations: 0 / 0.8617 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4006, allocations: 7.938 kB / 0.8617 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.4017, allocations: 1.19 MB / 0.8629 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.4019, allocations: 167.3 kB / 0.8631 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/0.4019, allocations: 16 kB / 0.8631 GB, free: 13.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.4022, allocations: 27.86 kB / 0.8631 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.4023, allocations: 55.03 kB / 0.8631 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.4023, allocations: 23.12 kB / 0.8632 GB, free: 13.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003064/0.4026, allocations: 427 kB / 0.8636 GB, free: 12.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.4026, allocations: 0 / 0.8636 GB, free: 12.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004826/0.4031, allocations: 347.3 kB / 0.8639 GB, free: 12.52 MB / 0.698 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.0002406/0.4033, allocations: 194 kB / 0.8641 GB, free: 12.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007015/0.404, allocations: 0.6422 MB / 0.8647 GB, free: 11.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4041, allocations: 8.062 kB / 0.8647 GB, free: 11.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.4044, allocations: 351.5 kB / 0.8651 GB, free: 11.33 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.4056, allocations: 0.4985 MB / 0.8655 GB, free: 10.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.4078, allocations: 2.045 MB / 0.8675 GB, free: 8.789 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.4081, allocations: 498.4 kB / 0.868 GB, free: 8.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.4083, allocations: 76.5 kB / 0.8681 GB, free: 8.195 MB / 0.698 GB Notification: Performance of SimCode: time 6.72e-07/0.4083, allocations: 0 / 0.8681 GB, free: 8.195 MB / 0.698 GB Notification: Performance of Templates: time 0.01207/0.4203, allocations: 15.65 MB / 0.8834 GB, free: 8.707 MB / 0.7136 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.507560375146568] Failed to read output from testmodel.py, exit status != 0: 0.42573749367147684 0.433103302 0.05085738 Calling exit ...