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.001351/0.001351, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.001626/0.001626, allocations: 217 kB / 23.04 MB, free: 5.074 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.002655/0.002655, allocations: 282 kB / 313.5 MB, free: 2.82 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.301/1.301, allocations: 180.6 MB / 0.5377 GB, free: 13.03 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 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="cs",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.002854/0.002854, allocations: 101.3 kB / 0.7403 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.214, allocations: 95.39 MB / 0.8335 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.8251/1.039, allocations: 206.1 MB / 1.035 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01113/1.05, allocations: 7.428 MB / 1.042 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/1.052, allocations: 48.19 kB / 1.042 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001995/1.054, allocations: 0.7254 MB / 1.043 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007117/1.061, allocations: 2.549 MB / 1.045 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003617/1.065, allocations: 1.277 MB / 1.046 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004971/1.07, allocations: 2.985 MB / 1.049 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/1.072, allocations: 0.7102 MB / 1.05 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002446/1.074, allocations: 1.075 MB / 1.051 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002097/1.076, allocations: 1.036 MB / 1.052 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001842/1.076, allocations: 110.4 kB / 1.052 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005385/1.082, allocations: 2.3 MB / 1.055 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006561/1.082, allocations: 466.7 kB / 1.055 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/1.083, allocations: 0.6681 MB / 1.056 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006137/1.09, allocations: 2.414 MB / 1.058 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/1.09, allocations: 0.8125 kB / 1.058 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.595e-06/1.09, allocations: 0 / 1.058 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.298e-05/1.09, allocations: 0 / 1.058 GB, free: 1.871 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.003852/1.093, allocations: 1.588 MB / 1.06 GB, free: 17 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.093, allocations: 12.19 kB / 1.06 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.084e-05/1.094, allocations: 22.84 kB / 1.06 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/1.094, allocations: 140.1 kB / 1.06 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/1.096, allocations: 381 kB / 1.06 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/1.098, allocations: 0.7785 MB / 1.061 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.035e-05/1.098, allocations: 69.66 kB / 1.061 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/1.098, allocations: 84 kB / 1.061 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/1.099, allocations: 1.039 MB / 1.062 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/1.1, allocations: 8.453 kB / 1.062 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.988e-05/1.1, allocations: 38.38 kB / 1.062 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-05/1.1, allocations: 43.92 kB / 1.062 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/1.101, allocations: 0.8833 MB / 1.063 GB, free: 15.56 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.006063/1.107, allocations: 4.255 MB / 1.067 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/1.108, allocations: 0.6619 MB / 1.068 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008144/1.109, allocations: 442.3 kB / 1.068 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003798/1.11, allocations: 76.12 kB / 1.068 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/1.11, allocations: 43.03 kB / 1.068 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.254e-06/1.11, allocations: 1 kB / 1.068 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.002044/1.112, allocations: 1 MB / 1.069 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/1.112, allocations: 62.88 kB / 1.069 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008126/1.113, allocations: 0.6311 MB / 1.07 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.377e-05/1.113, allocations: 40.92 kB / 1.07 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/1.113, allocations: 439.4 kB / 1.07 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003025/1.113, allocations: 265.2 kB / 1.071 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/1.114, allocations: 115.4 kB / 1.071 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002442/1.114, allocations: 390.1 kB / 1.071 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/1.114, allocations: 284.8 kB / 1.071 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005428/1.115, allocations: 354.4 kB / 1.072 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/1.116, allocations: 0.6618 MB / 1.072 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.116, allocations: 0 / 1.072 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001504/1.117, allocations: 0.7962 MB / 1.073 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.117, allocations: 4.938 kB / 1.073 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.117, allocations: 3.594 kB / 1.073 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/1.117, allocations: 8.188 kB / 1.073 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/1.118, allocations: 140.9 kB / 1.073 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/1.118, allocations: 5.719 kB / 1.073 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008974/1.119, allocations: 57.86 kB / 1.073 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/1.119, allocations: 19.81 kB / 1.073 GB, free: 8.703 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.0005861/1.12, allocations: 292.3 kB / 1.074 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/1.12, allocations: 90.5 kB / 1.074 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/1.121, allocations: 0.8001 MB / 1.075 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.026e-06/1.121, allocations: 8.688 kB / 1.075 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.121, allocations: 1.062 kB / 1.075 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001174/1.123, allocations: 0.8169 MB / 1.075 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/1.126, allocations: 1.833 MB / 1.077 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.126, allocations: 1 kB / 1.077 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007922/1.127, allocations: 169.2 kB / 1.077 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/1.127, allocations: 1.812 kB / 1.077 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/1.127, allocations: 19.45 kB / 1.077 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/1.127, allocations: 4.078 kB / 1.077 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.127, allocations: 3.406 kB / 1.077 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/1.128, allocations: 1.199 MB / 1.078 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/1.129, allocations: 175.1 kB / 1.079 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/1.129, allocations: 16.66 kB / 1.079 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006843/1.13, allocations: 19.3 kB / 1.079 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.13, allocations: 48.41 kB / 1.079 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/1.13, allocations: 27.72 kB / 1.079 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006099/1.131, allocations: 462.7 kB / 1.079 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/1.131, allocations: 0.8125 kB / 1.079 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009523/1.132, allocations: 331.1 kB / 1.079 GB, free: 5.004 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.002504/1.134, allocations: 1.844 MB / 1.081 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001224/1.135, allocations: 0.6514 MB / 1.082 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.135, allocations: 0 / 1.082 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005486/1.136, allocations: 351 kB / 1.082 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/1.138, allocations: 0.5435 MB / 1.083 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/1.15, allocations: 6.978 MB / 1.09 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009334/1.151, allocations: 1.092 MB / 1.091 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001098/1.152, allocations: 235.1 kB / 1.091 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007379/1.153, allocations: 359.3 kB / 1.091 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of SimCode: time 2.905e-06/1.153, allocations: 0 / 1.091 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06594/1.219, allocations: 26.02 MB / 1.117 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/14.41, allocations: 3.938 kB / 1.117 GB, free: 1.914 MB / 0.7637 GB " [Timeout remaining time 645] (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: 19.02525666099973] Failed to read output from testmodel.py, exit status != 0: 14.591885497968178 14.614715426 13.520840509 Calling exit ...