Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_10_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.0008654/0.0008654, allocations: 97.41 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.005159/0.005159, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.215/1.215, 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 10.1.0-maint.10.0.x/package.mo): time 2.291/2.291, allocations: 437.8 MB / 0.7121 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003052, allocations: 8 kB / 0.8729 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.517/0.5174, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.1707/0.6881, allocations: 197.1 MB / 1.216 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009101/0.6972, allocations: 7.416 MB / 1.223 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000818/0.6981, allocations: 31.81 kB / 1.223 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.6994, allocations: 0.6026 MB / 1.223 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00437/0.7038, allocations: 2.257 MB / 1.226 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.7061, allocations: 1.133 MB / 1.227 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003663/0.7098, allocations: 4.162 MB / 1.231 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000921/0.7107, allocations: 0.774 MB / 1.232 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.7118, allocations: 0.8519 MB / 1.232 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.7133, allocations: 0.9592 MB / 1.233 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.951e-05/0.7134, allocations: 48 kB / 1.233 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003557/0.717, allocations: 2.47 MB / 1.236 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.7173, allocations: 394.7 kB / 1.236 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005435/0.7179, allocations: 0.612 MB / 1.237 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002585/0.7205, allocations: 2.461 MB / 1.239 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.7205, allocations: 0 / 1.239 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7205, allocations: 0 / 1.239 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.7205, allocations: 0 / 1.239 GB, free: 1.812 MB / 0.9825 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.002522/0.723, allocations: 1.41 MB / 1.241 GB, free: 360 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7231, allocations: 8.031 kB / 1.241 GB, free: 352 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001457/0.7232, allocations: 135.3 kB / 1.241 GB, free: 208 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3892/1.112, allocations: 371.7 kB / 1.241 GB, free: 218.2 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/1.114, allocations: 0.8112 MB / 1.242 GB, free: 217.9 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-05/1.114, allocations: 65.25 kB / 1.242 GB, free: 217.9 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/1.114, allocations: 86.2 kB / 1.242 GB, free: 217.9 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/1.116, allocations: 1.048 MB / 1.243 GB, free: 217.6 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/1.116, allocations: 9.969 kB / 1.243 GB, free: 217.6 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.672e-05/1.116, allocations: 39.62 kB / 1.243 GB, free: 217.6 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.717e-05/1.116, allocations: 44.62 kB / 1.243 GB, free: 217.6 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/1.117, allocations: 0.8828 MB / 1.244 GB, free: 217.3 MB / 0.9825 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.003961/1.121, allocations: 4.288 MB / 1.248 GB, free: 214.1 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/1.123, allocations: 0.7066 MB / 1.249 GB, free: 213.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007329/1.123, allocations: 454.9 kB / 1.249 GB, free: 213.6 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004345/1.124, allocations: 0.669 MB / 1.25 GB, free: 212.9 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/1.124, allocations: 51.28 kB / 1.25 GB, free: 212.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 2.204e-06/1.124, allocations: 0 / 1.25 GB, free: 212.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.001756/1.126, allocations: 1.003 MB / 1.251 GB, free: 212.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/1.126, allocations: 59.78 kB / 1.251 GB, free: 212.4 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007405/1.126, allocations: 0.6366 MB / 1.252 GB, free: 212.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/1.126, allocations: 41.64 kB / 1.252 GB, free: 212 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/1.127, allocations: 431.8 kB / 1.252 GB, free: 211.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/1.127, allocations: 249.2 kB / 1.252 GB, free: 211.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/1.127, allocations: 62.94 kB / 1.252 GB, free: 211.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.834e-05/1.127, allocations: 385.9 kB / 1.253 GB, free: 211.1 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/1.127, allocations: 275.1 kB / 1.253 GB, free: 211 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/1.128, allocations: 363 kB / 1.253 GB, free: 210.9 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009337/1.129, allocations: 0.6633 MB / 1.254 GB, free: 210.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.129, allocations: 2.031 kB / 1.254 GB, free: 210.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001323/1.13, allocations: 0.8016 MB / 1.255 GB, free: 210.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/1.13, allocations: 5.625 kB / 1.255 GB, free: 210.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.13, allocations: 1.781 kB / 1.255 GB, free: 210.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.13, allocations: 5.5 kB / 1.255 GB, free: 210.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/1.131, allocations: 146.1 kB / 1.255 GB, free: 210.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/1.131, allocations: 5.031 kB / 1.255 GB, free: 210.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008964/1.132, allocations: 111 kB / 1.255 GB, free: 210.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/1.132, allocations: 28.05 kB / 1.255 GB, free: 210.1 MB / 0.9825 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.0003519/1.132, allocations: 287.1 kB / 1.255 GB, free: 209.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/1.132, allocations: 94.27 kB / 1.255 GB, free: 209.9 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/1.134, allocations: 0.7937 MB / 1.256 GB, free: 209.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/1.134, allocations: 6.844 kB / 1.256 GB, free: 209.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/1.134, allocations: 4.734 kB / 1.256 GB, free: 209.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009488/1.135, allocations: 0.825 MB / 1.257 GB, free: 209 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/1.137, allocations: 1.858 MB / 1.259 GB, free: 208.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/1.137, allocations: 1.953 kB / 1.259 GB, free: 208.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000735/1.138, allocations: 163.5 kB / 1.259 GB, free: 208.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/1.138, allocations: 3.703 kB / 1.259 GB, free: 208.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/1.138, allocations: 19.28 kB / 1.259 GB, free: 208.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/1.138, allocations: 4.062 kB / 1.259 GB, free: 208.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.138, allocations: 5.578 kB / 1.259 GB, free: 208.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/1.14, allocations: 1.198 MB / 1.26 GB, free: 207.6 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/1.14, allocations: 248.3 kB / 1.26 GB, free: 207.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.569e-05/1.14, allocations: 16.91 kB / 1.26 GB, free: 207.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007164/1.141, allocations: 83.81 kB / 1.261 GB, free: 207.3 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/1.141, allocations: 41.34 kB / 1.261 GB, free: 207.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/1.141, allocations: 21.72 kB / 1.261 GB, free: 207.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004638/1.141, allocations: 456.7 kB / 1.261 GB, free: 207.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/1.141, allocations: 2.812 kB / 1.261 GB, free: 207.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000733/1.142, allocations: 333.9 kB / 1.261 GB, free: 207.1 MB / 0.9825 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.001814/1.144, allocations: 1.844 MB / 1.263 GB, free: 206 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009555/1.145, allocations: 0.6812 MB / 1.264 GB, free: 205.7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.145, allocations: 1.344 kB / 1.264 GB, free: 205.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004753/1.145, allocations: 377.7 kB / 1.264 GB, free: 205.6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/1.148, allocations: 0.5215 MB / 1.265 GB, free: 205.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008366/1.156, allocations: 7.726 MB / 1.272 GB, free: 201.1 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/1.156, allocations: 1.079 MB / 1.273 GB, free: 200.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007835/1.157, allocations: 230.6 kB / 1.274 GB, free: 200.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003704/1.158, allocations: 357.5 kB / 1.274 GB, free: 200 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/1.158, allocations: 0 / 1.274 GB, free: 200 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/1.187, allocations: 23.93 MB / 1.297 GB, free: 177.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/1.187, allocations: 200.6 kB / 1.297 GB, free: 177.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/3.33, allocations: 0.625 kB / 1.297 GB, free: 177.5 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)