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.001451/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001322/0.001322, allocations: 189.4 kB / 16.14 MB, free: 6.711 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.601/2.601, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 64.58 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2921, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.7614/1.054, allocations: 199.8 MB / 1.247 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01009/1.064, allocations: 7.484 MB / 1.255 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001637/1.065, allocations: 35.44 kB / 1.255 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/1.067, allocations: 0.5993 MB / 1.255 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005614/1.073, allocations: 2.269 MB / 1.257 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003009/1.076, allocations: 1.118 MB / 1.258 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005168/1.081, allocations: 4.159 MB / 1.263 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/1.082, allocations: 0.8109 MB / 1.263 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/1.084, allocations: 0.8842 MB / 1.264 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/1.086, allocations: 1.005 MB / 1.265 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001758/1.086, allocations: 59.56 kB / 1.265 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005512/1.092, allocations: 2.483 MB / 1.268 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006614/1.092, allocations: 400.2 kB / 1.268 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/1.094, allocations: 0.6084 MB / 1.269 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004911/1.098, allocations: 2.506 MB / 1.271 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.098, allocations: 0.5 kB / 1.271 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.42e-07/1.098, allocations: 1.094 kB / 1.271 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.796e-05/1.098, allocations: 0.5312 kB / 1.271 GB, free: 1.816 MB / 0.9981 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.003971/1.102, allocations: 1.617 MB / 1.273 GB, free: 17 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.103, allocations: 13.38 kB / 1.273 GB, free: 16.99 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002022/1.103, allocations: 142.2 kB / 1.273 GB, free: 16.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0028/1.106, allocations: 370.1 kB / 1.273 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/1.107, allocations: 0.821 MB / 1.274 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.926e-05/1.107, allocations: 64.81 kB / 1.274 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/1.107, allocations: 87.28 kB / 1.274 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/1.109, allocations: 1.042 MB / 1.275 GB, free: 16.42 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.831e-05/1.109, allocations: 6.312 kB / 1.275 GB, free: 16.42 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.935e-05/1.109, allocations: 35.53 kB / 1.275 GB, free: 16.42 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.158e-05/1.109, allocations: 42.98 kB / 1.275 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/1.111, allocations: 0.8872 MB / 1.276 GB, free: 16.4 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.004604/1.115, allocations: 4.277 MB / 1.28 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/1.116, allocations: 0.698 MB / 1.281 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007006/1.117, allocations: 458.1 kB / 1.281 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005773/1.118, allocations: 0.6778 MB / 1.282 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/1.118, allocations: 43.09 kB / 1.282 GB, free: 13.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.955e-06/1.118, allocations: 0 / 1.282 GB, free: 13.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.001822/1.12, allocations: 0.9976 MB / 1.283 GB, free: 12.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/1.12, allocations: 58.97 kB / 1.283 GB, free: 12.92 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006975/1.12, allocations: 0.6411 MB / 1.284 GB, free: 12.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/1.12, allocations: 38.05 kB / 1.284 GB, free: 12.76 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/1.121, allocations: 428.5 kB / 1.284 GB, free: 12.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/1.121, allocations: 252.7 kB / 1.284 GB, free: 12.41 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/1.121, allocations: 118.9 kB / 1.285 GB, free: 12.39 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.121, allocations: 391.1 kB / 1.285 GB, free: 12.08 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/1.122, allocations: 272.8 kB / 1.285 GB, free: 12.08 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004644/1.122, allocations: 359.2 kB / 1.286 GB, free: 12.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009244/1.123, allocations: 0.6634 MB / 1.286 GB, free: 11.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.123, allocations: 0 / 1.286 GB, free: 11.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001229/1.124, allocations: 0.7994 MB / 1.287 GB, free: 11.87 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.124, allocations: 6.984 kB / 1.287 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.124, allocations: 5.031 kB / 1.287 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/1.124, allocations: 7.641 kB / 1.287 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006329/1.125, allocations: 140.2 kB / 1.287 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/1.125, allocations: 7.594 kB / 1.287 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/1.126, allocations: 114.3 kB / 1.287 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/1.126, allocations: 20.62 kB / 1.287 GB, free: 11.83 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.0004177/1.126, allocations: 292.2 kB / 1.288 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/1.127, allocations: 88.53 kB / 1.288 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/1.128, allocations: 0.7982 MB / 1.288 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/1.128, allocations: 7.344 kB / 1.288 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.128, allocations: 3.188 kB / 1.288 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001012/1.129, allocations: 0.8152 MB / 1.289 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/1.132, allocations: 1.849 MB / 1.291 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.132, allocations: 2.562 kB / 1.291 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008235/1.132, allocations: 160.7 kB / 1.291 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/1.133, allocations: 2.312 kB / 1.291 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.351e-05/1.133, allocations: 19.56 kB / 1.291 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/1.133, allocations: 7.562 kB / 1.291 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.133, allocations: 7.938 kB / 1.291 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/1.134, allocations: 1.191 MB / 1.292 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/1.135, allocations: 240.3 kB / 1.293 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/1.135, allocations: 17.8 kB / 1.293 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000772/1.136, allocations: 83.95 kB / 1.293 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/1.136, allocations: 39.28 kB / 1.293 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/1.136, allocations: 25.69 kB / 1.293 GB, free: 10.64 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005281/1.136, allocations: 456.5 kB / 1.293 GB, free: 10.54 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.192e-06/1.136, allocations: 4.312 kB / 1.293 GB, free: 10.54 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009653/1.137, allocations: 334.3 kB / 1.293 GB, free: 10.5 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.002107/1.139, allocations: 1.826 MB / 1.295 GB, free: 9.77 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001055/1.14, allocations: 0.6788 MB / 1.296 GB, free: 9.754 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.141, allocations: 4.125 kB / 1.296 GB, free: 9.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004926/1.141, allocations: 377.6 kB / 1.296 GB, free: 9.75 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/1.143, allocations: 0.5153 MB / 1.297 GB, free: 9.719 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009856/1.153, allocations: 7.555 MB / 1.304 GB, free: 6.707 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/1.154, allocations: 1.091 MB / 1.305 GB, free: 5.992 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009985/1.155, allocations: 228 kB / 1.305 GB, free: 5.934 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004278/1.155, allocations: 357.2 kB / 1.306 GB, free: 5.926 MB / 1.014 GB Notification: Performance of SimCode: time 1.363e-06/1.155, allocations: 0 / 1.306 GB, free: 5.926 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.629/3.784, allocations: 24.13 MB / 1.329 GB, free: 0.5 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/3.784, allocations: 209.8 kB / 1.33 GB, free: 252 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.909/7.693, allocations: 0 / 1.33 GB, free: 252 kB / 1.014 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)