Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001897/0.001897, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002614/0.002614, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.506/1.506, 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/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.936/2.936, allocations: 476.7 MB / 0.7678 GB, free: 9.34 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002133/0.002133, allocations: 68.19 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9731/0.9753, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2584/1.234, allocations: 205.7 MB / 1.48 GB, free: 14.15 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0119/1.246, allocations: 7.406 MB / 1.487 GB, free: 6.73 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/1.247, allocations: 55.56 kB / 1.487 GB, free: 6.676 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001925/1.249, allocations: 0.7304 MB / 1.488 GB, free: 5.941 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006254/1.255, allocations: 2.49 MB / 1.49 GB, free: 3.441 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003529/1.259, allocations: 1.251 MB / 1.491 GB, free: 2.191 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004618/1.263, allocations: 2.91 MB / 1.494 GB, free: 15.27 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/1.265, allocations: 0.7908 MB / 1.495 GB, free: 14.46 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/1.267, allocations: 1.059 MB / 1.496 GB, free: 13.39 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002639/1.27, allocations: 1.031 MB / 1.497 GB, free: 12.36 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004105/1.27, allocations: 112 kB / 1.497 GB, free: 12.25 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00515/1.275, allocations: 2.268 MB / 1.499 GB, free: 9.98 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007693/1.276, allocations: 454.6 kB / 1.5 GB, free: 9.535 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/1.277, allocations: 0.6689 MB / 1.5 GB, free: 8.863 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004726/1.282, allocations: 2.414 MB / 1.503 GB, free: 6.441 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.282, allocations: 0 / 1.503 GB, free: 6.441 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.372e-06/1.282, allocations: 0 / 1.503 GB, free: 6.441 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.602e-05/1.282, allocations: 0 / 1.503 GB, free: 6.441 MB / 1.186 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.0037/1.286, allocations: 1.669 MB / 1.504 GB, free: 4.719 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.286, allocations: 12.03 kB / 1.504 GB, free: 4.707 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.458e-05/1.286, allocations: 22 kB / 1.505 GB, free: 4.684 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001838/1.286, allocations: 139.3 kB / 1.505 GB, free: 4.539 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002645/1.288, allocations: 378.9 kB / 1.505 GB, free: 4.168 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/1.29, allocations: 0.8598 MB / 1.506 GB, free: 3.266 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.833e-05/1.29, allocations: 58 kB / 1.506 GB, free: 3.211 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/1.29, allocations: 87.98 kB / 1.506 GB, free: 3.125 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/1.292, allocations: 1.046 MB / 1.507 GB, free: 2.043 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/1.292, allocations: 7.938 kB / 1.507 GB, free: 2.035 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.603e-05/1.292, allocations: 36 kB / 1.507 GB, free: 2 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.135e-05/1.292, allocations: 45.98 kB / 1.507 GB, free: 1.957 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/1.294, allocations: 0.8783 MB / 1.508 GB, free: 1.074 MB / 1.186 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.005645/1.3, allocations: 4.308 MB / 1.512 GB, free: 12.41 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/1.301, allocations: 0.671 MB / 1.513 GB, free: 11.73 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008827/1.302, allocations: 438.9 kB / 1.513 GB, free: 11.3 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007185/1.302, allocations: 0.6693 MB / 1.514 GB, free: 10.49 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/1.303, allocations: 47.12 kB / 1.514 GB, free: 10.43 MB / 1.201 GB Notification: Performance of pre-optimization done (n=70): time 2.755e-06/1.303, allocations: 0 / 1.514 GB, free: 10.43 MB / 1.201 GB Notification: Performance of matching and sorting (n=70): time 0.002144/1.305, allocations: 0.9943 MB / 1.515 GB, free: 9.434 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/1.305, allocations: 59.97 kB / 1.515 GB, free: 9.363 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008776/1.306, allocations: 0.6372 MB / 1.516 GB, free: 8.719 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.598e-05/1.306, allocations: 41.7 kB / 1.516 GB, free: 8.672 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003542/1.306, allocations: 444.8 kB / 1.516 GB, free: 8.23 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/1.306, allocations: 265.7 kB / 1.516 GB, free: 7.969 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/1.306, allocations: 110.3 kB / 1.516 GB, free: 7.855 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002133/1.307, allocations: 386.8 kB / 1.517 GB, free: 7.469 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/1.307, allocations: 281.2 kB / 1.517 GB, free: 7.191 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/1.308, allocations: 357.1 kB / 1.517 GB, free: 6.824 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/1.309, allocations: 0.6586 MB / 1.518 GB, free: 6.145 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.309, allocations: 7.938 kB / 1.518 GB, free: 6.137 MB / 1.201 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001492/1.31, allocations: 0.7974 MB / 1.519 GB, free: 5.332 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.31, allocations: 4 kB / 1.519 GB, free: 5.328 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.31, allocations: 4 kB / 1.519 GB, free: 5.324 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/1.31, allocations: 4 kB / 1.519 GB, free: 5.32 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/1.311, allocations: 143.8 kB / 1.519 GB, free: 5.18 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/1.311, allocations: 12.12 kB / 1.519 GB, free: 5.168 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008206/1.312, allocations: 59.55 kB / 1.519 GB, free: 5.109 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/1.312, allocations: 20 kB / 1.519 GB, free: 5.09 MB / 1.201 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.0004621/1.313, allocations: 291.8 kB / 1.519 GB, free: 4.797 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/1.313, allocations: 87.48 kB / 1.519 GB, free: 4.711 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/1.314, allocations: 0.7998 MB / 1.52 GB, free: 3.898 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/1.314, allocations: 11.88 kB / 1.52 GB, free: 3.887 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.314, allocations: 4 kB / 1.52 GB, free: 3.883 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001221/1.316, allocations: 0.8075 MB / 1.521 GB, free: 3.023 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/1.319, allocations: 1.849 MB / 1.523 GB, free: 1.117 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.319, allocations: 0 / 1.523 GB, free: 1.117 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009013/1.319, allocations: 175.8 kB / 1.523 GB, free: 0.9453 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/1.319, allocations: 0 / 1.523 GB, free: 0.9453 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/1.319, allocations: 19.98 kB / 1.523 GB, free: 0.9258 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/1.319, allocations: 0 / 1.523 GB, free: 0.9258 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.319, allocations: 7.938 kB / 1.523 GB, free: 0.918 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/1.321, allocations: 1.199 MB / 1.524 GB, free: 15.7 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004568/1.322, allocations: 256.3 kB / 1.524 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/1.322, allocations: 16 kB / 1.524 GB, free: 15.41 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006949/1.323, allocations: 19.98 kB / 1.524 GB, free: 15.39 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/1.323, allocations: 44.5 kB / 1.524 GB, free: 15.35 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.135e-05/1.323, allocations: 20 kB / 1.524 GB, free: 15.33 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006105/1.324, allocations: 455 kB / 1.525 GB, free: 14.89 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/1.324, allocations: 3.938 kB / 1.525 GB, free: 14.89 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009119/1.324, allocations: 343.3 kB / 1.525 GB, free: 14.55 MB / 1.217 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.002497/1.327, allocations: 1.841 MB / 1.527 GB, free: 12.69 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001252/1.328, allocations: 0.6483 MB / 1.528 GB, free: 12.04 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.328, allocations: 0 / 1.528 GB, free: 12.04 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006015/1.329, allocations: 355 kB / 1.528 GB, free: 11.69 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/1.331, allocations: 0.54 MB / 1.529 GB, free: 11.16 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/1.342, allocations: 6.995 MB / 1.535 GB, free: 4.004 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007785/1.343, allocations: 1.089 MB / 1.536 GB, free: 2.887 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000854/1.344, allocations: 227.2 kB / 1.537 GB, free: 2.66 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005581/1.344, allocations: 359.3 kB / 1.537 GB, free: 2.309 MB / 1.217 GB Notification: Performance of SimCode: time 7.61e-07/1.344, allocations: 0 / 1.537 GB, free: 2.309 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05537/1.4, allocations: 25.44 MB / 1.562 GB, free: 9.254 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/11.72, allocations: 0 / 1.562 GB, free: 9.254 MB / 1.248 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.109019780007657] Failed to read output from testmodel.py, exit status != 0: 11.861552359012421 11.881829773 10.595786515 Calling exit ...