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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001422/0.001422, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001738, allocations: 197.7 kB / 16.53 MB, free: 6.656 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.617/1.617, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 8.519/8.519, allocations: 461.9 MB / 0.7346 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001248, allocations: 66.8 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5141/0.5154, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 1.58/2.095, allocations: 202 MB / 1.25 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01385/2.109, allocations: 7.394 MB / 1.257 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002685/2.112, allocations: 38.47 kB / 1.257 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002544/2.115, allocations: 0.6977 MB / 1.258 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009596/2.124, allocations: 2.402 MB / 1.26 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004746/2.129, allocations: 1.229 MB / 1.262 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00647/2.136, allocations: 2.914 MB / 1.264 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002227/2.138, allocations: 0.9467 MB / 1.265 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/2.141, allocations: 1.014 MB / 1.266 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003417/2.144, allocations: 0.9637 MB / 1.267 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002571/2.145, allocations: 110.8 kB / 1.267 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008164/2.153, allocations: 2.129 MB / 1.269 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001239/2.154, allocations: 448.9 kB / 1.27 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002074/2.156, allocations: 0.6632 MB / 1.271 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01185/2.168, allocations: 2.386 MB / 1.273 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/2.168, allocations: 0 / 1.273 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/2.168, allocations: 0.9375 kB / 1.273 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.103e-05/2.168, allocations: 0.9688 kB / 1.273 GB, free: 2.277 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.008308/2.177, allocations: 1.624 MB / 1.274 GB, free: 17.46 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 9.54e-05/2.177, allocations: 10.28 kB / 1.275 GB, free: 17.46 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000378/2.177, allocations: 136.2 kB / 1.275 GB, free: 17.42 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004656/2.182, allocations: 375.1 kB / 1.275 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00363/2.185, allocations: 0.8178 MB / 1.276 GB, free: 17.03 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/2.186, allocations: 65.27 kB / 1.276 GB, free: 17.03 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000351/2.186, allocations: 85.31 kB / 1.276 GB, free: 17.03 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00378/2.19, allocations: 1.04 MB / 1.277 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.595e-05/2.19, allocations: 1.25 kB / 1.277 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/2.19, allocations: 40.05 kB / 1.277 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-05/2.19, allocations: 46.09 kB / 1.277 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002699/2.193, allocations: 0.8811 MB / 1.278 GB, free: 16.89 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.00957/2.202, allocations: 4.325 MB / 1.282 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/2.204, allocations: 0.7053 MB / 1.283 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/2.206, allocations: 452.6 kB / 1.283 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/2.207, allocations: 0.6716 MB / 1.284 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.017e-05/2.207, allocations: 47.23 kB / 1.284 GB, free: 13.58 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 5.13e-06/2.207, allocations: 0.875 kB / 1.284 GB, free: 13.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.003325/2.21, allocations: 0.9927 MB / 1.285 GB, free: 13.49 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/2.21, allocations: 62.5 kB / 1.285 GB, free: 13.42 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/2.212, allocations: 0.6365 MB / 1.286 GB, free: 13.29 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/2.212, allocations: 41.02 kB / 1.286 GB, free: 13.26 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/2.212, allocations: 439.3 kB / 1.286 GB, free: 13.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004142/2.213, allocations: 246.6 kB / 1.286 GB, free: 12.91 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003094/2.213, allocations: 119 kB / 1.286 GB, free: 12.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002922/2.213, allocations: 388.1 kB / 1.287 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007538/2.214, allocations: 275.3 kB / 1.287 GB, free: 12.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008304/2.215, allocations: 359.5 kB / 1.287 GB, free: 12.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/2.217, allocations: 0.6615 MB / 1.288 GB, free: 12.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/2.217, allocations: 0.8438 kB / 1.288 GB, free: 12.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00234/2.219, allocations: 0.7974 MB / 1.289 GB, free: 12.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/2.219, allocations: 6.188 kB / 1.289 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/2.219, allocations: 3.875 kB / 1.289 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.42e-05/2.219, allocations: 5.875 kB / 1.289 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/2.22, allocations: 141.4 kB / 1.289 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.798e-05/2.22, allocations: 6.031 kB / 1.289 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/2.222, allocations: 54.05 kB / 1.289 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-05/2.222, allocations: 21.69 kB / 1.289 GB, free: 12.35 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.0008918/2.223, allocations: 288.8 kB / 1.289 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/2.223, allocations: 86.88 kB / 1.289 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/2.225, allocations: 0.8 MB / 1.29 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/2.225, allocations: 6.969 kB / 1.29 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/2.225, allocations: 1.969 kB / 1.29 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00177/2.227, allocations: 0.8104 MB / 1.291 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004852/2.232, allocations: 1.86 MB / 1.293 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/2.232, allocations: 0 / 1.293 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/2.233, allocations: 168.6 kB / 1.293 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.595e-05/2.233, allocations: 3.094 kB / 1.293 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.552e-05/2.233, allocations: 16.41 kB / 1.293 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.231e-05/2.233, allocations: 3.219 kB / 1.293 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/2.233, allocations: 3.938 kB / 1.293 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/2.236, allocations: 1.196 MB / 1.294 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008012/2.237, allocations: 244.7 kB / 1.294 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/2.237, allocations: 14.72 kB / 1.294 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000883/2.238, allocations: 27.25 kB / 1.294 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/2.238, allocations: 45.59 kB / 1.294 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.806e-05/2.238, allocations: 21.17 kB / 1.294 GB, free: 11.19 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001073/2.239, allocations: 457.1 kB / 1.295 GB, free: 11.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.72e-07/2.239, allocations: 0 / 1.295 GB, free: 11.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00188/2.241, allocations: 337.3 kB / 1.295 GB, free: 11.05 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.00352/2.245, allocations: 1.837 MB / 1.297 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002104/2.247, allocations: 0.8229 MB / 1.298 GB, free: 10.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/2.247, allocations: 4.719 kB / 1.298 GB, free: 10.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007202/2.248, allocations: 368.9 kB / 1.298 GB, free: 10.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002845/2.251, allocations: 0.5488 MB / 1.299 GB, free: 10.23 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/2.264, allocations: 7.184 MB / 1.306 GB, free: 7.715 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/2.266, allocations: 1.089 MB / 1.307 GB, free: 6.996 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001615/2.267, allocations: 232.5 kB / 1.307 GB, free: 6.934 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006229/2.268, allocations: 356.6 kB / 1.307 GB, free: 6.93 MB / 1.014 GB Notification: Performance of SimCode: time 1.443e-06/2.268, allocations: 1.641 kB / 1.307 GB, free: 6.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09364/2.362, allocations: 25.09 MB / 1.332 GB, free: 1.754 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.327/11.69, allocations: 6 kB / 1.332 GB, free: 1.75 MB / 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)