Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009282/0.0009282, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006876/0.006876, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.404/2.404, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002896, allocations: 12.47 kB / 0.9029 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2451, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.6698/0.9149, allocations: 197.1 MB / 1.251 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008644/0.9236, allocations: 7.409 MB / 1.258 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.9246, allocations: 31.78 kB / 1.258 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.926, allocations: 0.6056 MB / 1.259 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004787/0.9308, allocations: 2.265 MB / 1.261 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.9334, allocations: 1.125 MB / 1.262 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004217/0.9376, allocations: 4.16 MB / 1.266 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.9387, allocations: 0.7769 MB / 1.267 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.9402, allocations: 0.8551 MB / 1.268 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.9421, allocations: 0.9751 MB / 1.269 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.9422, allocations: 46.56 kB / 1.269 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004827/0.947, allocations: 2.482 MB / 1.271 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006083/0.9477, allocations: 375.8 kB / 1.272 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.9487, allocations: 0.6136 MB / 1.272 GB, free: 18.49 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004371/0.9531, allocations: 2.468 MB / 1.275 GB, free: 18.35 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.9531, allocations: 0 / 1.275 GB, free: 18.35 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9531, allocations: 0 / 1.275 GB, free: 18.35 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.771e-05/0.9531, allocations: 1.344 kB / 1.275 GB, free: 18.35 MB / 1.014 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.003299/0.9564, allocations: 1.402 MB / 1.276 GB, free: 17.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.9565, allocations: 13.19 kB / 1.276 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002373/0.9567, allocations: 139.6 kB / 1.276 GB, free: 17.51 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/0.9593, allocations: 373.3 kB / 1.277 GB, free: 17.45 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.9608, allocations: 0.8207 MB / 1.278 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/0.9608, allocations: 62.81 kB / 1.278 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.961, allocations: 88.91 kB / 1.278 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.9627, allocations: 1.044 MB / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.9628, allocations: 1.828 kB / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.521e-05/0.9629, allocations: 37.83 kB / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.226e-05/0.9629, allocations: 45.14 kB / 1.279 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.9645, allocations: 0.8876 MB / 1.28 GB, free: 16.96 MB / 1.014 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.004729/0.9693, allocations: 4.292 MB / 1.284 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009737/0.9702, allocations: 0.6971 MB / 1.285 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006481/0.9709, allocations: 454.4 kB / 1.285 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006105/0.9715, allocations: 0.6773 MB / 1.286 GB, free: 13.65 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.9716, allocations: 45.36 kB / 1.286 GB, free: 13.61 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.434e-06/0.9716, allocations: 0 / 1.286 GB, free: 13.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.001686/0.9733, allocations: 1.001 MB / 1.287 GB, free: 13.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.9733, allocations: 64.41 kB / 1.287 GB, free: 13.45 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006966/0.974, allocations: 0.6433 MB / 1.287 GB, free: 13.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/0.9741, allocations: 40.7 kB / 1.287 GB, free: 13.29 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.9743, allocations: 426.8 kB / 1.288 GB, free: 13.11 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.9745, allocations: 249.1 kB / 1.288 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-05/0.9746, allocations: 66.81 kB / 1.288 GB, free: 12.93 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.9747, allocations: 387.6 kB / 1.288 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.9752, allocations: 278.9 kB / 1.289 GB, free: 12.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/0.9757, allocations: 359 kB / 1.289 GB, free: 12.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008932/0.9766, allocations: 0.6665 MB / 1.29 GB, free: 12.48 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.9766, allocations: 1.094 kB / 1.29 GB, free: 12.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00118/0.9778, allocations: 0.7972 MB / 1.29 GB, free: 12.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.9778, allocations: 4.844 kB / 1.29 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.9778, allocations: 2.469 kB / 1.29 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.9778, allocations: 3.781 kB / 1.29 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005918/0.9784, allocations: 151.5 kB / 1.291 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.9784, allocations: 6.219 kB / 1.291 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009966/0.9794, allocations: 115.1 kB / 1.291 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.9795, allocations: 20.38 kB / 1.291 GB, free: 12.36 MB / 1.014 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.0003989/0.9799, allocations: 289.1 kB / 1.291 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.98, allocations: 90.69 kB / 1.291 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.9813, allocations: 0.802 MB / 1.292 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.9813, allocations: 6.625 kB / 1.292 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.9813, allocations: 0 / 1.292 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009627/0.9823, allocations: 0.8187 MB / 1.293 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.9847, allocations: 1.861 MB / 1.295 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.9848, allocations: 1.125 kB / 1.295 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007446/0.9855, allocations: 167.9 kB / 1.295 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.9855, allocations: 3 kB / 1.295 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/0.9856, allocations: 16.19 kB / 1.295 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.9856, allocations: 6.312 kB / 1.295 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9856, allocations: 8.062 kB / 1.295 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.9871, allocations: 1.201 MB / 1.296 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003992/0.9875, allocations: 243 kB / 1.296 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.9877, allocations: 15.03 kB / 1.296 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007294/0.9884, allocations: 81.45 kB / 1.296 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.556e-05/0.9885, allocations: 43.69 kB / 1.296 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.9885, allocations: 21.42 kB / 1.296 GB, free: 11.17 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004954/0.989, allocations: 460.4 kB / 1.297 GB, free: 11.07 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9891, allocations: 0 / 1.297 GB, free: 11.07 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000869/0.9899, allocations: 335.3 kB / 1.297 GB, free: 11.03 MB / 1.014 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.001978/0.9919, allocations: 1.841 MB / 1.299 GB, free: 10.29 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009555/0.9929, allocations: 0.6801 MB / 1.299 GB, free: 10.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9929, allocations: 0 / 1.299 GB, free: 10.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004156/0.9933, allocations: 378.2 kB / 1.3 GB, free: 10.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.9956, allocations: 0.5193 MB / 1.3 GB, free: 10.23 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009415/1.005, allocations: 7.72 MB / 1.308 GB, free: 7.145 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/1.006, allocations: 1.091 MB / 1.309 GB, free: 6.43 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009297/1.007, allocations: 220.1 kB / 1.309 GB, free: 6.375 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/1.007, allocations: 363.3 kB / 1.31 GB, free: 6.371 MB / 1.014 GB Notification: Performance of SimCode: time 7.71e-07/1.007, allocations: 0 / 1.31 GB, free: 6.371 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03597/1.043, allocations: 23.92 MB / 1.333 GB, free: 68 kB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/1.043, allocations: 208.9 kB / 1.333 GB, free: 15.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/3.213, allocations: 0 / 1.333 GB, free: 15.82 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)