Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, 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.002201/0.002201, allocations: 189.4 kB / 16.25 MB, free: 6.625 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.672/2.672, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 57.98 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3227, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.9538/1.277, allocations: 199.4 MB / 1.262 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0128/1.289, allocations: 7.362 MB / 1.27 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/1.291, allocations: 33.53 kB / 1.27 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001867/1.293, allocations: 0.6244 MB / 1.27 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006378/1.3, allocations: 2.258 MB / 1.272 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003257/1.303, allocations: 1.137 MB / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004297/1.307, allocations: 2.906 MB / 1.276 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/1.309, allocations: 0.9324 MB / 1.277 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/1.311, allocations: 1.034 MB / 1.278 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003001/1.314, allocations: 1.018 MB / 1.279 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002837/1.314, allocations: 110.2 kB / 1.279 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006881/1.321, allocations: 2.23 MB / 1.282 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001061/1.322, allocations: 456.7 kB / 1.282 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001762/1.324, allocations: 0.662 MB / 1.283 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008235/1.332, allocations: 2.544 MB / 1.285 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.332, allocations: 0 / 1.285 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.188e-06/1.332, allocations: 2.188 kB / 1.285 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.096e-05/1.332, allocations: 2.906 kB / 1.285 GB, free: 5.164 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.006547/1.339, allocations: 1.619 MB / 1.287 GB, free: 20.35 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.073e-05/1.339, allocations: 9.438 kB / 1.287 GB, free: 20.35 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003113/1.342, allocations: 377 kB / 1.287 GB, free: 20.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/1.344, allocations: 0.8179 MB / 1.288 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-05/1.344, allocations: 63.23 kB / 1.288 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/1.345, allocations: 85.97 kB / 1.288 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/1.347, allocations: 1.041 MB / 1.289 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/1.347, allocations: 2.125 kB / 1.289 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/1.347, allocations: 40.56 kB / 1.289 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.773e-05/1.347, allocations: 44.66 kB / 1.289 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/1.349, allocations: 0.8807 MB / 1.29 GB, free: 19.82 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.005443/1.355, allocations: 4.286 MB / 1.294 GB, free: 17.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/1.356, allocations: 0.7017 MB / 1.295 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007476/1.357, allocations: 455.7 kB / 1.295 GB, free: 17.29 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000679/1.357, allocations: 0.6736 MB / 1.296 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/1.357, allocations: 46 kB / 1.296 GB, free: 16.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.594e-06/1.357, allocations: 7.781 kB / 1.296 GB, free: 16.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.001997/1.359, allocations: 0.9893 MB / 1.297 GB, free: 16.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/1.359, allocations: 65.56 kB / 1.297 GB, free: 16.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000844/1.36, allocations: 0.6334 MB / 1.298 GB, free: 16.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.151e-05/1.36, allocations: 41.11 kB / 1.298 GB, free: 16.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/1.361, allocations: 431.4 kB / 1.298 GB, free: 15.99 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/1.361, allocations: 249.3 kB / 1.298 GB, free: 15.83 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/1.361, allocations: 120.8 kB / 1.298 GB, free: 15.81 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.361, allocations: 390 kB / 1.299 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/1.362, allocations: 278.2 kB / 1.299 GB, free: 15.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004827/1.362, allocations: 357.5 kB / 1.299 GB, free: 15.44 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000973/1.363, allocations: 0.6618 MB / 1.3 GB, free: 15.37 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.363, allocations: 1.031 kB / 1.3 GB, free: 15.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001362/1.364, allocations: 0.7942 MB / 1.301 GB, free: 15.29 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.365, allocations: 5.375 kB / 1.301 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.365, allocations: 1.75 kB / 1.301 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.365, allocations: 8.938 kB / 1.301 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/1.365, allocations: 144.9 kB / 1.301 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/1.365, allocations: 4.062 kB / 1.301 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.366, allocations: 116.5 kB / 1.301 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-05/1.366, allocations: 20.66 kB / 1.301 GB, free: 15.25 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.0004909/1.367, allocations: 296.2 kB / 1.301 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/1.367, allocations: 86.62 kB / 1.302 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/1.368, allocations: 0.7948 MB / 1.302 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/1.368, allocations: 8.25 kB / 1.302 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/1.368, allocations: 5.812 kB / 1.302 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001081/1.37, allocations: 0.8165 MB / 1.303 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002882/1.372, allocations: 1.853 MB / 1.305 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/1.372, allocations: 0 / 1.305 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000829/1.373, allocations: 165.6 kB / 1.305 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/1.373, allocations: 3.25 kB / 1.305 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/1.373, allocations: 16.94 kB / 1.305 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-06/1.373, allocations: 5.344 kB / 1.305 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.373, allocations: 1.594 kB / 1.305 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/1.375, allocations: 1.198 MB / 1.306 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004814/1.376, allocations: 249.8 kB / 1.307 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/1.376, allocations: 15.06 kB / 1.307 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007633/1.377, allocations: 74.39 kB / 1.307 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/1.377, allocations: 42.03 kB / 1.307 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-05/1.377, allocations: 23.44 kB / 1.307 GB, free: 14.08 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005743/1.377, allocations: 457.6 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.377, allocations: 0 / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001058/1.378, allocations: 342 kB / 1.307 GB, free: 13.94 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.0003891/1.379, allocations: 189.5 kB / 1.308 GB, free: 13.85 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001689/1.38, allocations: 0.8172 MB / 1.308 GB, free: 13.83 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.38, allocations: 1.281 kB / 1.308 GB, free: 13.83 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006098/1.381, allocations: 370 kB / 1.309 GB, free: 13.83 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/1.384, allocations: 0.5509 MB / 1.309 GB, free: 13.75 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/1.387, allocations: 2.56 MB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006004/1.388, allocations: 1.086 MB / 1.313 GB, free: 11.72 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001009/1.389, allocations: 232.7 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/1.389, allocations: 75.89 kB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of SimCode: time 6.62e-07/1.389, allocations: 0 / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of Templates: time 0.0292/1.418, allocations: 18.12 MB / 1.331 GB, free: 9.367 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)