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.001896/0.001896, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002325/0.002325, allocations: 214.3 kB / 23.03 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.002626/0.002626, allocations: 286.9 kB / 313.5 MB, free: 2.613 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.277/1.277, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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="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.002951/0.002951, allocations: 107.2 kB / 0.7402 GB, free: 28.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2047, allocations: 95.38 MB / 0.8334 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.8484/1.053, allocations: 178.6 MB / 1.008 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01277/1.066, allocations: 6.895 MB / 1.015 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002338/1.068, allocations: 50.69 kB / 1.015 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002268/1.07, allocations: 0.6559 MB / 1.015 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007856/1.078, allocations: 2.523 MB / 1.018 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003983/1.082, allocations: 1.264 MB / 1.019 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005229/1.087, allocations: 2.99 MB / 1.022 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/1.089, allocations: 0.7084 MB / 1.023 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002679/1.092, allocations: 1.076 MB / 1.024 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002861/1.094, allocations: 1.036 MB / 1.025 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002745/1.095, allocations: 112.4 kB / 1.025 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005423/1.1, allocations: 1.775 MB / 1.026 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007731/1.101, allocations: 470.4 kB / 1.027 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001124/1.102, allocations: 0.5542 MB / 1.027 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005324/1.107, allocations: 2.36 MB / 1.03 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/1.107, allocations: 1 kB / 1.03 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.026e-06/1.107, allocations: 0 / 1.03 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.984e-05/1.107, allocations: 0.9688 kB / 1.03 GB, free: 2.773 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.003973/1.111, allocations: 1.586 MB / 1.031 GB, free: 18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/1.111, allocations: 13.91 kB / 1.031 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.54e-05/1.111, allocations: 26.09 kB / 1.031 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001692/1.112, allocations: 132.4 kB / 1.031 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002624/1.114, allocations: 383.4 kB / 1.032 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/1.116, allocations: 0.7793 MB / 1.033 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.29e-05/1.116, allocations: 64.31 kB / 1.033 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/1.116, allocations: 88.17 kB / 1.033 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/1.118, allocations: 1.242 MB / 1.034 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/1.118, allocations: 6.688 kB / 1.034 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.543e-05/1.118, allocations: 34.22 kB / 1.034 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.218e-05/1.118, allocations: 47.95 kB / 1.034 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/1.12, allocations: 0.8804 MB / 1.035 GB, free: 17.21 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.004575/1.124, allocations: 2.875 MB / 1.038 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/1.125, allocations: 0.6555 MB / 1.038 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007195/1.126, allocations: 437.7 kB / 1.039 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003899/1.126, allocations: 83.61 kB / 1.039 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/1.126, allocations: 40.06 kB / 1.039 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.976e-06/1.126, allocations: 0.6875 kB / 1.039 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001937/1.128, allocations: 1 MB / 1.04 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/1.128, allocations: 57.72 kB / 1.04 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007745/1.129, allocations: 0.6318 MB / 1.041 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.057e-05/1.129, allocations: 39.42 kB / 1.041 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/1.129, allocations: 444.8 kB / 1.041 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/1.13, allocations: 267.8 kB / 1.041 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/1.13, allocations: 112.7 kB / 1.041 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002143/1.13, allocations: 394.7 kB / 1.042 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/1.131, allocations: 274.7 kB / 1.042 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/1.131, allocations: 357.2 kB / 1.042 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000939/1.132, allocations: 0.6617 MB / 1.043 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.132, allocations: 0 / 1.043 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001189/1.133, allocations: 0.8008 MB / 1.044 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.133, allocations: 7.469 kB / 1.044 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.133, allocations: 4.656 kB / 1.044 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/1.133, allocations: 2.875 kB / 1.044 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006347/1.134, allocations: 142.9 kB / 1.044 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/1.134, allocations: 4.906 kB / 1.044 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000754/1.135, allocations: 54.98 kB / 1.044 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.187e-05/1.135, allocations: 28.69 kB / 1.044 GB, free: 14.76 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.0004685/1.135, allocations: 285.4 kB / 1.044 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/1.135, allocations: 85.48 kB / 1.044 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/1.137, allocations: 0.8043 MB / 1.045 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/1.137, allocations: 7.969 kB / 1.045 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/1.137, allocations: 0 / 1.045 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/1.138, allocations: 0.8192 MB / 1.046 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/1.14, allocations: 1.678 MB / 1.048 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.14, allocations: 7.344 kB / 1.048 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007976/1.141, allocations: 166 kB / 1.048 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/1.141, allocations: 3.531 kB / 1.048 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-05/1.141, allocations: 15.22 kB / 1.048 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.141, allocations: 3.469 kB / 1.048 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.141, allocations: 5.781 kB / 1.048 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/1.143, allocations: 1.208 MB / 1.049 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003812/1.143, allocations: 168.2 kB / 1.049 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/1.143, allocations: 16.47 kB / 1.049 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006154/1.144, allocations: 20.78 kB / 1.049 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/1.144, allocations: 48.27 kB / 1.049 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.378e-05/1.144, allocations: 23.34 kB / 1.049 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005705/1.144, allocations: 457.6 kB / 1.05 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6e-08/1.144, allocations: 0.9375 kB / 1.05 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009277/1.145, allocations: 337.5 kB / 1.05 GB, free: 13.05 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.002331/1.148, allocations: 1.852 MB / 1.052 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001148/1.149, allocations: 0.6492 MB / 1.052 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.149, allocations: 0 / 1.052 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005219/1.149, allocations: 350.6 kB / 1.053 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/1.152, allocations: 0.5449 MB / 1.053 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/1.162, allocations: 6.986 MB / 1.06 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/1.162, allocations: 0.4911 MB / 1.061 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009738/1.163, allocations: 223.4 kB / 1.061 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005479/1.164, allocations: 358.8 kB / 1.061 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of SimCode: time 1.182e-06/1.164, allocations: 0 / 1.061 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06449/1.228, allocations: 27.73 MB / 1.088 GB, free: 5.047 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.84, allocations: 11.67 kB / 1.088 GB, free: 5.039 MB / 0.7481 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.377740873023868] Failed to read output from testmodel.py, exit status != 0: 15.021367691922933 15.038833422 13.928070952 Calling exit ...