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.001647/0.001647, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.0019/0.0019, allocations: 215.9 kB / 22.25 MB, free: 4.855 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 MB, free: 7.785 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.002993/0.002993, allocations: 291 kB / 312.7 MB, free: 2.586 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.295/1.295, allocations: 180.6 MB / 0.5369 GB, free: 14.63 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="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.00306/0.00306, allocations: 108.7 kB / 0.7395 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2301, allocations: 95.38 MB / 0.8326 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.7891/1.019, allocations: 178.8 MB / 1.007 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01172/1.031, allocations: 6.907 MB / 1.014 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/1.033, allocations: 47.25 kB / 1.014 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/1.035, allocations: 0.658 MB / 1.015 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006689/1.042, allocations: 2.526 MB / 1.017 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003351/1.045, allocations: 1.258 MB / 1.018 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003917/1.049, allocations: 2.957 MB / 1.021 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/1.05, allocations: 0.6992 MB / 1.022 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002079/1.052, allocations: 1.082 MB / 1.023 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002286/1.054, allocations: 0.9851 MB / 1.024 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001957/1.054, allocations: 112.4 kB / 1.024 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003989/1.058, allocations: 1.764 MB / 1.026 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005031/1.059, allocations: 469.1 kB / 1.026 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007457/1.06, allocations: 0.5506 MB / 1.027 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003776/1.064, allocations: 2.36 MB / 1.029 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/1.064, allocations: 0 / 1.029 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/1.064, allocations: 0 / 1.029 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.574e-05/1.064, allocations: 0.8438 kB / 1.029 GB, free: 2.75 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.003184/1.067, allocations: 1.59 MB / 1.031 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.067, allocations: 13 kB / 1.031 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001492/1.067, allocations: 134.3 kB / 1.031 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/1.069, allocations: 390.6 kB / 1.031 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/1.071, allocations: 0.7781 MB / 1.032 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/1.071, allocations: 68.62 kB / 1.032 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/1.071, allocations: 82.84 kB / 1.032 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/1.072, allocations: 1.24 MB / 1.033 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/1.073, allocations: 3.188 kB / 1.033 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/1.073, allocations: 37.66 kB / 1.033 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-05/1.073, allocations: 45.98 kB / 1.033 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/1.074, allocations: 0.8744 MB / 1.034 GB, free: 17.2 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.004179/1.078, allocations: 2.869 MB / 1.037 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/1.079, allocations: 0.6604 MB / 1.038 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007002/1.08, allocations: 434.7 kB / 1.038 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003734/1.08, allocations: 85.3 kB / 1.038 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/1.08, allocations: 40.03 kB / 1.038 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 3.136e-06/1.08, allocations: 0 / 1.038 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001718/1.082, allocations: 1.002 MB / 1.039 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/1.082, allocations: 57.88 kB / 1.039 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006696/1.083, allocations: 0.6412 MB / 1.04 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.51e-05/1.083, allocations: 41.86 kB / 1.04 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/1.083, allocations: 436.2 kB / 1.04 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/1.083, allocations: 261.6 kB / 1.041 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/1.083, allocations: 118.5 kB / 1.041 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001909/1.084, allocations: 392.9 kB / 1.041 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004527/1.084, allocations: 273.8 kB / 1.041 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/1.085, allocations: 367.1 kB / 1.042 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009456/1.086, allocations: 0.6623 MB / 1.042 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.086, allocations: 0 / 1.042 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001159/1.087, allocations: 0.7973 MB / 1.043 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/1.087, allocations: 6.156 kB / 1.043 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.087, allocations: 6.562 kB / 1.043 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/1.087, allocations: 4.969 kB / 1.043 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005987/1.087, allocations: 145.1 kB / 1.043 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.087, allocations: 6.562 kB / 1.043 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007572/1.088, allocations: 55.73 kB / 1.043 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/1.088, allocations: 19.06 kB / 1.043 GB, free: 14.74 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.0003954/1.089, allocations: 287.9 kB / 1.044 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/1.089, allocations: 90.59 kB / 1.044 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/1.09, allocations: 0.805 MB / 1.044 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/1.09, allocations: 7.406 kB / 1.044 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.09, allocations: 0 / 1.044 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009928/1.091, allocations: 0.8191 MB / 1.045 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/1.093, allocations: 1.679 MB / 1.047 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.093, allocations: 0 / 1.047 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007598/1.094, allocations: 169 kB / 1.047 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/1.094, allocations: 3.375 kB / 1.047 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-05/1.094, allocations: 20.3 kB / 1.047 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/1.094, allocations: 2.188 kB / 1.047 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.094, allocations: 0 / 1.047 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/1.096, allocations: 1.203 MB / 1.048 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/1.096, allocations: 173.6 kB / 1.048 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/1.096, allocations: 20.36 kB / 1.048 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006091/1.097, allocations: 22.12 kB / 1.048 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.097, allocations: 51.45 kB / 1.048 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/1.097, allocations: 23.58 kB / 1.049 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005333/1.098, allocations: 456.6 kB / 1.049 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/1.098, allocations: 1.062 kB / 1.049 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008166/1.098, allocations: 335.6 kB / 1.049 GB, free: 13.11 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.00228/1.101, allocations: 1.836 MB / 1.051 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001119/1.102, allocations: 0.6468 MB / 1.052 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.102, allocations: 2.344 kB / 1.052 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005033/1.102, allocations: 354.2 kB / 1.052 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/1.105, allocations: 0.5473 MB / 1.053 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/1.115, allocations: 6.974 MB / 1.059 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007105/1.116, allocations: 0.4968 MB / 1.06 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001188/1.117, allocations: 227 kB / 1.06 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006251/1.118, allocations: 356.7 kB / 1.06 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of SimCode: time 2.474e-06/1.118, allocations: 0 / 1.06 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07341/1.191, allocations: 28.04 MB / 1.088 GB, free: 4.805 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.72, allocations: 0 / 1.088 GB, free: 4.805 MB / 0.7481 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: 18.22557689808309] Failed to read output from testmodel.py, exit status != 0: 13.84660132182762 13.86304793 12.796179086 Calling exit ...