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.001252/0.001252, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001387/0.001387, allocations: 222.7 kB / 22.26 MB, free: 5.215 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.399/1.399, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.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.002737/0.002737, allocations: 294.6 kB / 312.7 MB, free: 2.793 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.178/1.178, allocations: 180.6 MB / 0.5369 GB, free: 12.9 MB / 382.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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) [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.002867/0.002867, allocations: 105.1 kB / 0.7396 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1927, allocations: 95.38 MB / 0.8327 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.706/0.8986, allocations: 206.1 MB / 1.034 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.9092, allocations: 7.437 MB / 1.041 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/0.9113, allocations: 47 kB / 1.041 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.9131, allocations: 0.7283 MB / 1.042 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006692/0.9198, allocations: 2.53 MB / 1.044 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003295/0.9231, allocations: 1.288 MB / 1.046 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004269/0.9274, allocations: 2.987 MB / 1.049 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.9285, allocations: 0.7129 MB / 1.049 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001897/0.9304, allocations: 1.067 MB / 1.05 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002056/0.9324, allocations: 1.04 MB / 1.051 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.9326, allocations: 110.4 kB / 1.051 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004384/0.937, allocations: 2.292 MB / 1.054 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005485/0.9375, allocations: 469.9 kB / 1.054 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008925/0.9384, allocations: 0.6665 MB / 1.055 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005074/0.9435, allocations: 2.416 MB / 1.057 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.9435, allocations: 2.562 kB / 1.057 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9435, allocations: 0 / 1.057 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.213e-05/0.9435, allocations: 2.25 kB / 1.057 GB, free: 1.828 MB / 0.7169 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.003547/0.9471, allocations: 1.593 MB / 1.059 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.9471, allocations: 8.188 kB / 1.059 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.9473, allocations: 136.7 kB / 1.059 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/0.9496, allocations: 383.7 kB / 1.059 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.951, allocations: 0.7864 MB / 1.06 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.9511, allocations: 67.28 kB / 1.06 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.9512, allocations: 87.41 kB / 1.06 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.9527, allocations: 1.041 MB / 1.061 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.9527, allocations: 6.953 kB / 1.061 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.023e-05/0.9528, allocations: 37.53 kB / 1.061 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.9528, allocations: 42.69 kB / 1.061 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.9542, allocations: 0.8809 MB / 1.062 GB, free: 15.54 MB / 0.7325 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.005281/0.9594, allocations: 4.25 MB / 1.066 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.9605, allocations: 0.6688 MB / 1.067 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007378/0.9613, allocations: 441.6 kB / 1.067 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003832/0.9617, allocations: 74.56 kB / 1.067 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.9617, allocations: 39.97 kB / 1.067 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 3.987e-06/0.9617, allocations: 5.047 kB / 1.067 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001901/0.9636, allocations: 1.001 MB / 1.068 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.9637, allocations: 60.94 kB / 1.069 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007712/0.9644, allocations: 0.6349 MB / 1.069 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.165e-05/0.9645, allocations: 37.08 kB / 1.069 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/0.9649, allocations: 441.1 kB / 1.07 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.9651, allocations: 265.7 kB / 1.07 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.9653, allocations: 117.3 kB / 1.07 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.9655, allocations: 394.6 kB / 1.07 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004296/0.9659, allocations: 275.4 kB / 1.071 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/0.9664, allocations: 356.5 kB / 1.071 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009641/0.9674, allocations: 0.6633 MB / 1.072 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.9674, allocations: 0 / 1.072 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001252/0.9686, allocations: 0.7967 MB / 1.072 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.9687, allocations: 4.312 kB / 1.072 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.9687, allocations: 2.344 kB / 1.072 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.9687, allocations: 4.594 kB / 1.072 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.9693, allocations: 145.4 kB / 1.073 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.9693, allocations: 6.375 kB / 1.073 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/0.97, allocations: 54.08 kB / 1.073 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.97, allocations: 27.47 kB / 1.073 GB, free: 8.656 MB / 0.7325 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.000478/0.9705, allocations: 291.5 kB / 1.073 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.9707, allocations: 90.53 kB / 1.073 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.972, allocations: 0.7896 MB / 1.074 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.972, allocations: 11.83 kB / 1.074 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.9721, allocations: 2.438 kB / 1.074 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001062/0.9731, allocations: 0.8198 MB / 1.075 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.976, allocations: 1.827 MB / 1.076 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.976, allocations: 3.594 kB / 1.076 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007708/0.9768, allocations: 169.5 kB / 1.076 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/0.9768, allocations: 7.25 kB / 1.076 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.103e-05/0.9769, allocations: 20.48 kB / 1.077 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.9769, allocations: 4.562 kB / 1.077 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.9769, allocations: 0 / 1.077 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.9786, allocations: 1.198 MB / 1.078 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004786/0.9791, allocations: 178.6 kB / 1.078 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.9793, allocations: 11.59 kB / 1.078 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006532/0.9799, allocations: 25.89 kB / 1.078 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.98, allocations: 44.69 kB / 1.078 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.704e-05/0.9801, allocations: 19.88 kB / 1.078 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006072/0.9807, allocations: 465.6 kB / 1.078 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9807, allocations: 0 / 1.078 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009208/0.9816, allocations: 336.2 kB / 1.079 GB, free: 4.961 MB / 0.7325 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.002382/0.984, allocations: 1.843 MB / 1.081 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.9851, allocations: 0.641 MB / 1.081 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.9851, allocations: 0 / 1.081 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004944/0.9856, allocations: 351.6 kB / 1.081 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.9879, allocations: 0.5448 MB / 1.082 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.9992, allocations: 6.973 MB / 1.089 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008643/1, allocations: 1.095 MB / 1.09 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009248/1.001, allocations: 227.2 kB / 1.09 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005695/1.002, allocations: 363.3 kB / 1.09 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of SimCode: time 9.51e-07/1.002, allocations: 0 / 1.09 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06992/1.071, allocations: 26 MB / 1.116 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.44, allocations: 6.938 kB / 1.116 GB, free: 1.887 MB / 0.7637 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.533355973893777] Failed to read output from testmodel.py, exit status != 0: 13.558404117822647 13.575657546 12.628914274 Calling exit ...