Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.TrickleVent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent") translateModel(Buildings.Airflow.Multizone.Examples.TrickleVent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.056/2.056, allocations: 391.2 MB / 407 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 198.5 kB / 499.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000981/0.0009809, allocations: 113.9 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 52.33 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2535, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.TrickleVent): time 0.187/0.4406, allocations: 184.8 MB / 1.399 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.02129/0.4619, allocations: 16.41 MB / 1.415 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/0.4643, allocations: 43.75 kB / 1.415 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001958/0.4663, allocations: 0.6098 MB / 1.415 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.006478/0.4728, allocations: 2.127 MB / 1.417 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.005449/0.4783, allocations: 1.744 MB / 1.419 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.005616/0.4839, allocations: 4.357 MB / 1.423 GB, free: 2.41 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003226/0.4872, allocations: 1.874 MB / 1.425 GB, free: 492 kB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5334/1.021, allocations: 1.322 MB / 1.426 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/1.023, allocations: 1.246 MB / 1.428 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0003375/1.023, allocations: 114.5 kB / 1.428 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004646/1.028, allocations: 2.287 MB / 1.43 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0007898/1.029, allocations: 0.6405 MB / 1.431 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001432/1.03, allocations: 1.096 MB / 1.432 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.005693/1.036, allocations: 3.764 MB / 1.435 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.036, allocations: 0.5312 kB / 1.435 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.062e-06/1.036, allocations: 1.188 kB / 1.435 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.831e-05/1.036, allocations: 0 / 1.435 GB, free: 5.316 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.005007/1.041, allocations: 2.751 MB / 1.438 GB, free: 4.012 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/1.041, allocations: 13.3 kB / 1.438 GB, free: 4.008 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/1.044, allocations: 0.5462 MB / 1.439 GB, free: 3.875 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/1.047, allocations: 1.467 MB / 1.44 GB, free: 3.418 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.961e-05/1.047, allocations: 130.5 kB / 1.44 GB, free: 3.414 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/1.047, allocations: 167.1 kB / 1.44 GB, free: 3.414 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003328/1.051, allocations: 1.982 MB / 1.442 GB, free: 3.156 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/1.051, allocations: 8.406 kB / 1.442 GB, free: 3.152 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001589/1.051, allocations: 82 kB / 1.442 GB, free: 3.152 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-05/1.051, allocations: 64.81 kB / 1.442 GB, free: 3.148 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003171/1.054, allocations: 2.041 MB / 1.444 GB, free: 3.129 MB / 0.9167 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.01001/1.064, allocations: 7.205 MB / 1.451 GB, free: 16.19 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/1.067, allocations: 1.595 MB / 1.453 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/1.068, allocations: 0.7333 MB / 1.454 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007727/1.069, allocations: 0.6451 MB / 1.454 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/1.07, allocations: 0.9071 MB / 1.455 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=142): time 3.557e-06/1.07, allocations: 0 / 1.455 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=142): time 0.005393/1.075, allocations: 2.523 MB / 1.458 GB, free: 14.72 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.076, allocations: 230 kB / 1.458 GB, free: 14.46 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/1.078, allocations: 1.475 MB / 1.459 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001928/1.078, allocations: 51.17 kB / 1.459 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006251/1.079, allocations: 0.8225 MB / 1.46 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003976/1.079, allocations: 490.1 kB / 1.461 GB, free: 13.65 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003824/1.079, allocations: 254.8 kB / 1.461 GB, free: 13.63 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.08, allocations: 355.9 kB / 1.461 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009421/1.08, allocations: 0.5664 MB / 1.462 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/1.082, allocations: 0.7278 MB / 1.462 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/1.083, allocations: 1.307 MB / 1.464 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.788e-06/1.083, allocations: 0 / 1.464 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.00315/1.087, allocations: 1.706 MB / 1.465 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/1.087, allocations: 5.031 kB / 1.465 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.087, allocations: 1.969 kB / 1.465 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007337/1.087, allocations: 150.5 kB / 1.466 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/1.089, allocations: 299.5 kB / 1.466 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00357/1.092, allocations: 4.217 MB / 1.47 GB, free: 9.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/1.094, allocations: 187.5 kB / 1.47 GB, free: 9.02 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/1.094, allocations: 53.16 kB / 1.47 GB, free: 9.02 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001563/1.096, allocations: 0.9187 MB / 1.471 GB, free: 8.934 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009902/1.097, allocations: 0.7125 MB / 1.472 GB, free: 8.82 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001803/1.098, allocations: 1.29 MB / 1.473 GB, free: 8.727 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/1.098, allocations: 0 / 1.473 GB, free: 8.727 MB / 0.9323 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.003233/1.102, allocations: 1.686 MB / 1.475 GB, free: 8.543 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/1.102, allocations: 5.094 kB / 1.475 GB, free: 8.543 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.102, allocations: 2.469 kB / 1.475 GB, free: 8.543 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006645/1.102, allocations: 144.8 kB / 1.475 GB, free: 8.516 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/1.104, allocations: 297.5 kB / 1.475 GB, free: 8.516 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003492/1.107, allocations: 4.219 MB / 1.479 GB, free: 4.715 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/1.109, allocations: 159.4 kB / 1.479 GB, free: 4.664 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/1.109, allocations: 53.84 kB / 1.479 GB, free: 4.664 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004332/1.109, allocations: 271.5 kB / 1.48 GB, free: 4.473 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003174/1.11, allocations: 175.9 kB / 1.48 GB, free: 4.383 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003847/1.114, allocations: 1.928 MB / 1.482 GB, free: 4.223 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/1.114, allocations: 14.53 kB / 1.482 GB, free: 4.223 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.114, allocations: 3.219 kB / 1.482 GB, free: 4.223 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002668/1.116, allocations: 1.585 MB / 1.483 GB, free: 4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005799/1.122, allocations: 3.688 MB / 1.487 GB, free: 3.566 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.122, allocations: 2.859 kB / 1.487 GB, free: 3.566 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/1.123, allocations: 305.8 kB / 1.487 GB, free: 3.562 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006379/1.124, allocations: 143.9 kB / 1.487 GB, free: 3.535 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.055e-05/1.124, allocations: 38.77 kB / 1.487 GB, free: 3.535 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003483/1.128, allocations: 4.231 MB / 1.492 GB, free: 15.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.128, allocations: 1.797 kB / 1.492 GB, free: 15.73 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03697/1.165, allocations: 15.29 MB / 1.506 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009531/1.166, allocations: 437.9 kB / 1.507 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/1.166, allocations: 28.97 kB / 1.507 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/1.167, allocations: 126.9 kB / 1.507 GB, free: 10.76 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/1.167, allocations: 105.2 kB / 1.507 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/1.167, allocations: 66.98 kB / 1.507 GB, free: 10.75 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001313/1.169, allocations: 1.032 MB / 1.508 GB, free: 10.64 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.5e-07/1.169, allocations: 0 / 1.508 GB, free: 10.64 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004324/1.173, allocations: 1.627 MB / 1.51 GB, free: 10.44 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002412/1.175, allocations: 0.9638 MB / 1.511 GB, free: 10.17 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004605/1.18, allocations: 2.907 MB / 1.514 GB, free: 9.457 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/1.18, allocations: 8.422 kB / 1.514 GB, free: 9.449 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/1.182, allocations: 1.133 MB / 1.515 GB, free: 9.105 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003505/1.185, allocations: 0.6894 MB / 1.515 GB, free: 9.043 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009631/1.195, allocations: 5.881 MB / 1.521 GB, free: 6.105 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/1.196, allocations: 1.556 MB / 1.523 GB, free: 5.305 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00276/1.199, allocations: 0.6303 MB / 1.523 GB, free: 5.121 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005787/1.2, allocations: 181.8 kB / 1.523 GB, free: 5.094 MB / 0.948 GB Notification: Performance of SimCode: time 7.31e-07/1.2, allocations: 0 / 1.523 GB, free: 5.094 MB / 0.948 GB Notification: Performance of Templates: time 0.06352/1.263, allocations: 41.92 MB / 1.564 GB, free: 292 kB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1)