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.002057/0.002057, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001822/0.001822, allocations: 210.2 kB / 20.13 MB, free: 2.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.616/1.616, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002671/0.002671, allocations: 279.5 kB / 309.8 MB, free: 3.508 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.105/1.105, allocations: 180.6 MB / 0.5338 GB, free: 12.35 MB / 398.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.002979/0.002979, allocations: 103.9 kB / 0.7347 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7167/0.7197, allocations: 95.34 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.2792/0.9989, allocations: 205.6 MB / 1.029 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01301/1.012, allocations: 7.399 MB / 1.036 GB, free: 4.398 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/1.014, allocations: 51.62 kB / 1.036 GB, free: 4.348 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002307/1.016, allocations: 0.7342 MB / 1.037 GB, free: 3.609 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007064/1.023, allocations: 2.492 MB / 1.039 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003965/1.027, allocations: 1.245 MB / 1.04 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004912/1.032, allocations: 2.917 MB / 1.043 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/1.034, allocations: 0.783 MB / 1.044 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002542/1.036, allocations: 1.067 MB / 1.045 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/1.039, allocations: 1.029 MB / 1.046 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004382/1.039, allocations: 108 kB / 1.046 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005294/1.045, allocations: 2.26 MB / 1.048 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0008587/1.046, allocations: 474.5 kB / 1.049 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001631/1.047, allocations: 0.6572 MB / 1.049 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.006303/1.054, allocations: 2.418 MB / 1.052 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.054, allocations: 0 / 1.052 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.823e-06/1.054, allocations: 0 / 1.052 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.716e-05/1.054, allocations: 3.984 kB / 1.052 GB, free: 4.117 MB / 0.7794 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.004764/1.058, allocations: 1.657 MB / 1.053 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.058, allocations: 8.031 kB / 1.053 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.435e-05/1.059, allocations: 26 kB / 1.053 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003058/1.059, allocations: 139.2 kB / 1.053 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002868/1.062, allocations: 382.8 kB / 1.054 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/1.064, allocations: 0.8597 MB / 1.055 GB, free: 0.9492 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-05/1.064, allocations: 69.98 kB / 1.055 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/1.064, allocations: 83.95 kB / 1.055 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/1.066, allocations: 1.046 MB / 1.056 GB, free: 15.72 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/1.066, allocations: 4 kB / 1.056 GB, free: 15.71 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/1.066, allocations: 32 kB / 1.056 GB, free: 15.68 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.829e-05/1.066, allocations: 45.98 kB / 1.056 GB, free: 15.64 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/1.068, allocations: 0.8822 MB / 1.057 GB, free: 14.75 MB / 0.795 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.006495/1.075, allocations: 4.3 MB / 1.061 GB, free: 10.1 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/1.076, allocations: 0.6622 MB / 1.062 GB, free: 9.43 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008952/1.077, allocations: 435 kB / 1.062 GB, free: 9.004 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007719/1.078, allocations: 0.6732 MB / 1.063 GB, free: 8.184 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.166e-05/1.078, allocations: 43.12 kB / 1.063 GB, free: 8.133 MB / 0.795 GB Notification: Performance of pre-optimization done (n=70): time 2.725e-06/1.078, allocations: 3.938 kB / 1.063 GB, free: 8.129 MB / 0.795 GB Notification: Performance of matching and sorting (n=70): time 0.002234/1.08, allocations: 0.9943 MB / 1.064 GB, free: 7.129 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/1.08, allocations: 67.95 kB / 1.064 GB, free: 7.051 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/1.081, allocations: 0.6333 MB / 1.064 GB, free: 6.414 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.964e-05/1.081, allocations: 41.7 kB / 1.064 GB, free: 6.367 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/1.082, allocations: 440.8 kB / 1.065 GB, free: 5.93 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/1.082, allocations: 261.7 kB / 1.065 GB, free: 5.672 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/1.082, allocations: 122.3 kB / 1.065 GB, free: 5.547 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002101/1.082, allocations: 382.8 kB / 1.066 GB, free: 5.164 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/1.083, allocations: 281.2 kB / 1.066 GB, free: 4.891 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005957/1.083, allocations: 353.1 kB / 1.066 GB, free: 4.523 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/1.085, allocations: 0.6664 MB / 1.067 GB, free: 3.84 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/1.085, allocations: 4 kB / 1.067 GB, free: 3.836 MB / 0.795 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001585/1.086, allocations: 0.7937 MB / 1.068 GB, free: 3.035 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/1.086, allocations: 8 kB / 1.068 GB, free: 3.027 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/1.086, allocations: 0 / 1.068 GB, free: 3.027 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/1.086, allocations: 4 kB / 1.068 GB, free: 3.023 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/1.087, allocations: 143.8 kB / 1.068 GB, free: 2.883 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/1.087, allocations: 7.938 kB / 1.068 GB, free: 2.875 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008853/1.088, allocations: 55.62 kB / 1.068 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.681e-05/1.088, allocations: 23.98 kB / 1.068 GB, free: 2.797 MB / 0.795 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.0005429/1.088, allocations: 285.7 kB / 1.068 GB, free: 2.508 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002799/1.089, allocations: 95.38 kB / 1.068 GB, free: 2.414 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/1.09, allocations: 0.7881 MB / 1.069 GB, free: 1.613 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/1.09, allocations: 11.94 kB / 1.069 GB, free: 1.602 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/1.09, allocations: 4 kB / 1.069 GB, free: 1.598 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001246/1.092, allocations: 0.8114 MB / 1.07 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003334/1.095, allocations: 1.865 MB / 1.072 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.095, allocations: 4 kB / 1.072 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008939/1.096, allocations: 163.8 kB / 1.072 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/1.096, allocations: 4 kB / 1.072 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.158e-05/1.096, allocations: 16 kB / 1.072 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/1.096, allocations: 4 kB / 1.072 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/1.096, allocations: 0 / 1.072 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/1.098, allocations: 1.203 MB / 1.073 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005765/1.099, allocations: 248.3 kB / 1.073 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/1.099, allocations: 19.94 kB / 1.073 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007495/1.1, allocations: 19.98 kB / 1.073 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.1, allocations: 48.5 kB / 1.073 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.033e-05/1.1, allocations: 23.98 kB / 1.073 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007522/1.101, allocations: 455 kB / 1.074 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of sort global known variables: time 7e-08/1.101, allocations: 0 / 1.074 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001135/1.102, allocations: 335.4 kB / 1.074 GB, free: 12.27 MB / 0.8106 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.00274/1.105, allocations: 1.842 MB / 1.076 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001386/1.106, allocations: 0.6447 MB / 1.076 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.106, allocations: 4.062 kB / 1.076 GB, free: 9.75 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006097/1.107, allocations: 351 kB / 1.077 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/1.109, allocations: 0.5479 MB / 1.077 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/1.122, allocations: 6.995 MB / 1.084 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/1.123, allocations: 1.085 MB / 1.085 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001044/1.125, allocations: 235.2 kB / 1.085 GB, free: 372 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006547/1.125, allocations: 355.3 kB / 1.086 GB, free: 16 kB / 0.8106 GB Notification: Performance of SimCode: time 1.743e-06/1.125, allocations: 0 / 1.086 GB, free: 16 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06391/1.189, allocations: 25.46 MB / 1.111 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/11.71, allocations: 10.75 kB / 1.111 GB, free: 6.957 MB / 0.8419 GB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 16.046346250979695] Failed to read output from testmodel.py, exit status != 0: 11.849999637051951 11.871700741 10.813680323 Calling exit ...