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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001188/0.001188, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00119/0.00119, allocations: 191.5 kB / 16.25 MB, free: 6.637 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.171/1.171, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.24/2.24, allocations: 437 MB / 0.7101 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001185, allocations: 59.91 kB / 0.8689 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4513/0.4525, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.17/0.6225, allocations: 199.4 MB / 1.212 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009095/0.6316, allocations: 7.354 MB / 1.219 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.6327, allocations: 35.75 kB / 1.219 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.6342, allocations: 0.6182 MB / 1.219 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004785/0.6391, allocations: 2.264 MB / 1.222 GB, free: 324 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.6416, allocations: 1.139 MB / 1.223 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003059/0.6447, allocations: 2.907 MB / 1.226 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.6458, allocations: 0.9391 MB / 1.227 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.6473, allocations: 1.031 MB / 1.228 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.6492, allocations: 1.021 MB / 1.229 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.6494, allocations: 112 kB / 1.229 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003282/0.6527, allocations: 2.229 MB / 1.231 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004603/0.6532, allocations: 454.8 kB / 1.231 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007615/0.6539, allocations: 0.665 MB / 1.232 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003112/0.657, allocations: 2.54 MB / 1.234 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.6571, allocations: 0 / 1.234 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6571, allocations: 0 / 1.234 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.894e-05/0.6571, allocations: 0 / 1.234 GB, free: 3.25 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.003027/0.6601, allocations: 1.616 MB / 1.236 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.6602, allocations: 15.97 kB / 1.236 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/0.6604, allocations: 135.2 kB / 1.236 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/0.6627, allocations: 378.2 kB / 1.236 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.6638, allocations: 0.82 MB / 1.237 GB, free: 192 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/0.6639, allocations: 65.98 kB / 1.237 GB, free: 128 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.664, allocations: 80 kB / 1.237 GB, free: 48 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.6656, allocations: 1.049 MB / 1.238 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.6656, allocations: 4 kB / 1.238 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.881e-05/0.6657, allocations: 32 kB / 1.238 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.855e-05/0.6658, allocations: 45.98 kB / 1.239 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.6672, allocations: 0.8783 MB / 1.239 GB, free: 14 MB / 0.9981 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.004292/0.6715, allocations: 4.288 MB / 1.244 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.6725, allocations: 0.6985 MB / 1.244 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000673/0.6732, allocations: 455 kB / 1.245 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005417/0.6737, allocations: 0.6732 MB / 1.245 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.6738, allocations: 47.06 kB / 1.245 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 2.134e-06/0.6738, allocations: 3.938 kB / 1.245 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.00167/0.6755, allocations: 0.99 MB / 1.246 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.6755, allocations: 59.97 kB / 1.246 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006656/0.6762, allocations: 0.6334 MB / 1.247 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/0.6763, allocations: 41.64 kB / 1.247 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.6765, allocations: 436.1 kB / 1.247 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.6767, allocations: 248.3 kB / 1.248 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.6769, allocations: 118.2 kB / 1.248 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6771, allocations: 394.7 kB / 1.248 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.6775, allocations: 273.2 kB / 1.248 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004533/0.6779, allocations: 365 kB / 1.249 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009076/0.6789, allocations: 0.6587 MB / 1.249 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6789, allocations: 0 / 1.249 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001153/0.68, allocations: 0.793 MB / 1.25 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.6801, allocations: 5.406 kB / 1.25 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.6801, allocations: 4 kB / 1.25 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.6801, allocations: 7.984 kB / 1.25 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005834/0.6807, allocations: 148 kB / 1.25 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.6807, allocations: 4 kB / 1.25 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008232/0.6815, allocations: 111.3 kB / 1.251 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.6816, allocations: 32 kB / 1.251 GB, free: 1.945 MB / 0.9981 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.0003285/0.6819, allocations: 286.1 kB / 1.251 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.6821, allocations: 83.06 kB / 1.251 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.6833, allocations: 0.7997 MB / 1.252 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.6833, allocations: 4 kB / 1.252 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6833, allocations: 7.938 kB / 1.252 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3682/1.052, allocations: 0.8101 MB / 1.252 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/1.054, allocations: 1.846 MB / 1.254 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.054, allocations: 4.391 kB / 1.254 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007861/1.055, allocations: 167.3 kB / 1.254 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/1.055, allocations: 3.062 kB / 1.254 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/1.055, allocations: 18.75 kB / 1.254 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/1.055, allocations: 2.75 kB / 1.254 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.055, allocations: 0.6562 kB / 1.254 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/1.057, allocations: 1.202 MB / 1.256 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/1.057, allocations: 244.2 kB / 1.256 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/1.057, allocations: 17.66 kB / 1.256 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006974/1.058, allocations: 73.8 kB / 1.256 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/1.058, allocations: 41.06 kB / 1.256 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.934e-05/1.058, allocations: 25.92 kB / 1.256 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004981/1.059, allocations: 453 kB / 1.256 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.059, allocations: 0 / 1.256 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000748/1.059, allocations: 340.4 kB / 1.257 GB, free: 233.4 MB / 0.9981 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.001897/1.061, allocations: 1.83 MB / 1.259 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001417/1.063, allocations: 0.8176 MB / 1.259 GB, free: 232 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.063, allocations: 0.9062 kB / 1.259 GB, free: 232 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005109/1.063, allocations: 372.4 kB / 1.26 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/1.065, allocations: 0.5444 MB / 1.26 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009209/1.075, allocations: 7.554 MB / 1.268 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/1.075, allocations: 1.089 MB / 1.269 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008418/1.076, allocations: 228.9 kB / 1.269 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/1.076, allocations: 354.6 kB / 1.269 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.076, allocations: 3.938 kB / 1.269 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07683/1.153, allocations: 24.87 MB / 1.294 GB, free: 211.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000131/1.153, allocations: 208.8 kB / 1.294 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.107/3.261, allocations: 0 / 1.294 GB, free: 211.4 MB / 0.9981 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)