Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001357/0.001357, allocations: 120 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.001538/0.001538, 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.519/1.519, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.913/2.913, allocations: 0.49 GB / 0.7923 GB, free: 1.312 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_12_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.002012/0.002012, allocations: 63.91 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2828/1.301, allocations: 205.7 MB / 1.522 GB, free: 11.55 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0137/1.314, allocations: 7.418 MB / 1.53 GB, free: 4.105 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/1.316, allocations: 51.56 kB / 1.53 GB, free: 4.055 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002151/1.318, allocations: 0.7343 MB / 1.53 GB, free: 3.316 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006836/1.325, allocations: 2.489 MB / 1.533 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003477/1.329, allocations: 1.25 MB / 1.534 GB, free: 15.57 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004393/1.333, allocations: 2.911 MB / 1.537 GB, free: 12.65 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/1.334, allocations: 0.7791 MB / 1.538 GB, free: 11.85 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002216/1.336, allocations: 1.184 MB / 1.539 GB, free: 10.66 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/1.339, allocations: 1.018 MB / 1.54 GB, free: 9.645 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.000197/1.339, allocations: 112 kB / 1.54 GB, free: 9.535 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004769/1.344, allocations: 2.248 MB / 1.542 GB, free: 7.281 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005721/1.344, allocations: 462.6 kB / 1.543 GB, free: 6.828 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0008844/1.345, allocations: 0.665 MB / 1.543 GB, free: 6.16 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004647/1.35, allocations: 2.414 MB / 1.546 GB, free: 3.738 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.35, allocations: 0 / 1.546 GB, free: 3.738 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.074e-06/1.35, allocations: 0 / 1.546 GB, free: 3.738 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.736e-05/1.35, allocations: 0 / 1.546 GB, free: 3.738 MB / 1.217 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.003596/1.353, allocations: 1.673 MB / 1.547 GB, free: 2.012 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.353, allocations: 11.98 kB / 1.547 GB, free: 2 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.394e-05/1.353, allocations: 26 kB / 1.547 GB, free: 1.973 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001871/1.354, allocations: 139.2 kB / 1.547 GB, free: 1.828 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/1.356, allocations: 374.9 kB / 1.548 GB, free: 1.461 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/1.358, allocations: 0.8636 MB / 1.549 GB, free: 0.5547 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/1.358, allocations: 69.98 kB / 1.549 GB, free: 500 kB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/1.358, allocations: 84 kB / 1.549 GB, free: 416 kB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/1.36, allocations: 1.038 MB / 1.55 GB, free: 15.33 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/1.36, allocations: 4 kB / 1.55 GB, free: 15.33 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.62e-05/1.36, allocations: 36 kB / 1.55 GB, free: 15.29 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.906e-05/1.36, allocations: 45.98 kB / 1.55 GB, free: 15.25 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/1.361, allocations: 0.8861 MB / 1.551 GB, free: 14.36 MB / 1.232 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.005386/1.367, allocations: 4.387 MB / 1.555 GB, free: 9.605 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/1.368, allocations: 0.6628 MB / 1.556 GB, free: 8.934 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008351/1.369, allocations: 434.9 kB / 1.556 GB, free: 8.508 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007438/1.369, allocations: 0.681 MB / 1.557 GB, free: 7.68 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/1.37, allocations: 43.12 kB / 1.557 GB, free: 7.629 MB / 1.232 GB Notification: Performance of pre-optimization done (n=70): time 3.336e-06/1.37, allocations: 0 / 1.557 GB, free: 7.629 MB / 1.232 GB Notification: Performance of matching and sorting (n=70): time 0.002033/1.372, allocations: 0.9866 MB / 1.558 GB, free: 6.641 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/1.372, allocations: 59.97 kB / 1.558 GB, free: 6.57 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008401/1.372, allocations: 0.6372 MB / 1.558 GB, free: 5.922 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.742e-05/1.372, allocations: 45.7 kB / 1.558 GB, free: 5.871 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/1.373, allocations: 448.7 kB / 1.559 GB, free: 5.426 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/1.373, allocations: 257.8 kB / 1.559 GB, free: 5.172 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/1.373, allocations: 118.3 kB / 1.559 GB, free: 5.051 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002057/1.374, allocations: 386.7 kB / 1.56 GB, free: 4.664 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/1.374, allocations: 273.2 kB / 1.56 GB, free: 4.395 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005516/1.375, allocations: 361.1 kB / 1.56 GB, free: 4.023 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/1.376, allocations: 0.6665 MB / 1.561 GB, free: 3.332 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.376, allocations: 0 / 1.561 GB, free: 3.332 MB / 1.232 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001438/1.377, allocations: 0.7973 MB / 1.562 GB, free: 2.527 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.377, allocations: 4 kB / 1.562 GB, free: 2.523 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/1.377, allocations: 4 kB / 1.562 GB, free: 2.52 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/1.377, allocations: 7.938 kB / 1.562 GB, free: 2.512 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006919/1.378, allocations: 144 kB / 1.562 GB, free: 2.371 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/1.378, allocations: 11.92 kB / 1.562 GB, free: 2.359 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007663/1.379, allocations: 63.55 kB / 1.562 GB, free: 2.297 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/1.379, allocations: 20 kB / 1.562 GB, free: 2.277 MB / 1.232 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.0004407/1.379, allocations: 281.6 kB / 1.562 GB, free: 1.992 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/1.379, allocations: 87.48 kB / 1.562 GB, free: 1.906 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/1.381, allocations: 0.7997 MB / 1.563 GB, free: 1.086 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.381, allocations: 11.94 kB / 1.563 GB, free: 1.074 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/1.381, allocations: 0 / 1.563 GB, free: 1.074 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001188/1.382, allocations: 0.8114 MB / 1.564 GB, free: 220 kB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/1.385, allocations: 1.853 MB / 1.566 GB, free: 14.31 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.385, allocations: 4 kB / 1.566 GB, free: 14.3 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008653/1.386, allocations: 163.8 kB / 1.566 GB, free: 14.14 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/1.386, allocations: 4 kB / 1.566 GB, free: 14.14 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/1.386, allocations: 23.98 kB / 1.566 GB, free: 14.12 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/1.386, allocations: 4 kB / 1.566 GB, free: 14.11 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/1.386, allocations: 0 / 1.566 GB, free: 14.11 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/1.388, allocations: 1.203 MB / 1.567 GB, free: 12.89 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003978/1.388, allocations: 252.3 kB / 1.567 GB, free: 12.63 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/1.388, allocations: 19.94 kB / 1.567 GB, free: 12.61 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006216/1.389, allocations: 21.86 kB / 1.567 GB, free: 12.59 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/1.389, allocations: 44.44 kB / 1.567 GB, free: 12.55 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/1.389, allocations: 27.98 kB / 1.567 GB, free: 12.52 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005788/1.39, allocations: 455 kB / 1.568 GB, free: 12.08 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.39, allocations: 4 kB / 1.568 GB, free: 12.08 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008522/1.39, allocations: 343.3 kB / 1.568 GB, free: 11.74 MB / 1.248 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.002398/1.393, allocations: 1.84 MB / 1.57 GB, free: 9.875 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001181/1.394, allocations: 0.6366 MB / 1.57 GB, free: 9.234 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.394, allocations: 4 kB / 1.57 GB, free: 9.23 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0005943/1.395, allocations: 351 kB / 1.571 GB, free: 8.887 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/1.397, allocations: 0.5425 MB / 1.571 GB, free: 8.355 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/1.407, allocations: 6.979 MB / 1.578 GB, free: 1.215 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000764/1.408, allocations: 1.089 MB / 1.579 GB, free: 104 kB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.000902/1.409, allocations: 227.3 kB / 1.579 GB, free: 15.87 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005708/1.409, allocations: 363.2 kB / 1.58 GB, free: 15.52 MB / 1.264 GB Notification: Performance of SimCode: time 6.41e-07/1.409, allocations: 0 / 1.58 GB, free: 15.52 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05685/1.466, allocations: 25.44 MB / 1.605 GB, free: 6.461 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.954/11.42, allocations: 8.047 kB / 1.605 GB, free: 6.453 MB / 1.279 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.938276751025114] Failed to read output from testmodel.py, exit status != 0: 11.55863279098412 11.572244319 10.219601734 Calling exit ...