Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.System4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System4") translateModel(Buildings.Examples.Tutorial.CDL.System4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.339/1.339, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 174.7 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007655/0.0007655, allocations: 81.14 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003409, allocations: 9.281 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1726, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System4): time 1.224/1.397, allocations: 0.5076 GB / 1.404 GB, free: 18.18 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.08831/1.485, allocations: 73.9 MB / 1.477 GB, free: 17.03 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01535/1.501, allocations: 379.4 kB / 1.477 GB, free: 17.03 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01376/1.514, allocations: 4.259 MB / 1.481 GB, free: 16.95 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.03253/1.547, allocations: 12.4 MB / 1.493 GB, free: 16.39 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.02572/1.573, allocations: 10.58 MB / 1.504 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.03789/1.611, allocations: 41.48 MB / 1.544 GB, free: 8.301 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01313/1.624, allocations: 9.722 MB / 1.554 GB, free: 3.078 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02074/1.645, allocations: 9.786 MB / 1.563 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0165/1.661, allocations: 8.604 MB / 1.571 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.003232/1.664, allocations: 420 kB / 1.572 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0168/1.681, allocations: 5.583 MB / 1.577 GB, free: 2.965 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.004486/1.686, allocations: 2.458 MB / 1.58 GB, free: 0.5742 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.01202/1.698, allocations: 5.832 MB / 1.585 GB, free: 10.78 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0282/1.726, allocations: 18.62 MB / 1.604 GB, free: 8.809 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.726, allocations: 3.938 kB / 1.604 GB, free: 8.805 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.874e-06/1.726, allocations: 0 / 1.604 GB, free: 8.805 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004997/1.727, allocations: 0 / 1.604 GB, free: 8.805 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1862 * Number of variables: 1862 Notification: Performance of Generate backend data structure: time 0.02086/1.747, allocations: 11 MB / 1.614 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/1.747, allocations: 8.031 kB / 1.614 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/1.758, allocations: 2.078 MB / 1.616 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01948/1.777, allocations: 10.27 MB / 1.626 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004453/1.778, allocations: 0.5737 MB / 1.627 GB, free: 1.047 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/1.779, allocations: 0.7688 MB / 1.628 GB, free: 288 kB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01572/1.795, allocations: 8.669 MB / 1.636 GB, free: 7.301 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001658/1.795, allocations: 19.78 kB / 1.636 GB, free: 7.281 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007864/1.796, allocations: 311.9 kB / 1.637 GB, free: 6.977 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002443/1.796, allocations: 281.9 kB / 1.637 GB, free: 6.699 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/1.81, allocations: 7.119 MB / 1.644 GB, free: 15.57 MB / 0.9948 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.05629/1.866, allocations: 41.34 MB / 1.684 GB, free: 3.762 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007512/1.874, allocations: 4.676 MB / 1.689 GB, free: 15.01 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003891/1.878, allocations: 2.418 MB / 1.691 GB, free: 12.6 MB / 1.042 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 evalFunc (simulation): time 0.02138/1.899, allocations: 10.32 MB / 1.701 GB, free: 1.902 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004064/1.903, allocations: 2.488 MB / 1.704 GB, free: 15.38 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003598/1.907, allocations: 457.9 kB / 1.704 GB, free: 14.93 MB / 1.057 GB Notification: Performance of pre-optimization done (n=405): time 1.05e-05/1.907, allocations: 0 / 1.704 GB, free: 14.93 MB / 1.057 GB Notification: Performance of matching and sorting (n=414): time 0.03705/1.944, allocations: 14.97 MB / 1.719 GB, free: 15.7 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002628/1.944, allocations: 0.5771 MB / 1.719 GB, free: 14.99 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01247/1.957, allocations: 8.274 MB / 1.727 GB, free: 6.738 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0011/1.958, allocations: 133.7 kB / 1.727 GB, free: 6.602 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0044/1.962, allocations: 5.047 MB / 1.732 GB, free: 1.543 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001766/1.964, allocations: 1.438 MB / 1.734 GB, free: 120 kB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007007/1.965, allocations: 498.3 kB / 1.734 GB, free: 15.62 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 9.041e-05/1.965, allocations: 305.1 kB / 1.734 GB, free: 15.32 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004383/1.969, allocations: 2.279 MB / 1.737 GB, free: 13.04 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005664/1.975, allocations: 4.097 MB / 1.741 GB, free: 8.176 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009222/1.984, allocations: 5.961 MB / 1.747 GB, free: 1.605 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-05/1.984, allocations: 15.94 kB / 1.747 GB, free: 1.59 MB / 1.089 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01857/2.003, allocations: 8.162 MB / 1.754 GB, free: 9.324 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007954/2.004, allocations: 1.294 MB / 1.756 GB, free: 7.465 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.672e-05/2.004, allocations: 44 kB / 1.756 GB, free: 7.422 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01083/2.015, allocations: 1.886 MB / 1.758 GB, free: 5.527 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005417/2.02, allocations: 1.229 MB / 1.759 GB, free: 4.297 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/2.031, allocations: 8.001 MB / 1.767 GB, free: 11.83 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008876/2.04, allocations: 0.7619 MB / 1.767 GB, free: 11.07 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009762/2.041, allocations: 283.8 kB / 1.768 GB, free: 10.8 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/2.041, allocations: 4.625 kB / 1.768 GB, free: 10.79 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01471/2.056, allocations: 6.825 MB / 1.774 GB, free: 3.875 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.4e-05/2.056, allocations: 47.98 kB / 1.774 GB, free: 3.828 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008091/2.064, allocations: 1.728 MB / 1.776 GB, free: 2.09 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004569/2.069, allocations: 1.182 MB / 1.777 GB, free: 0.9062 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/2.083, allocations: 9.929 MB / 1.787 GB, free: 6.434 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008337/2.092, allocations: 0.7246 MB / 1.788 GB, free: 5.711 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/2.093, allocations: 265.8 kB / 1.788 GB, free: 5.453 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 177 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,boiSigCon.u,conEquSta.hys.y,$PRE.conEquSta.hys.y,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent,$whenCondition2,$whenCondition3,conBoiRet.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (668): * Single equations (assignments): 652 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,6), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.005148/2.098, allocations: 2.286 MB / 1.79 GB, free: 3.156 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002579/2.1, allocations: 0.9105 MB / 1.791 GB, free: 2.234 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.614/2.714, allocations: 6.157 MB / 1.797 GB, free: 0.5396 GB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008509/2.723, allocations: 4.587 MB / 1.802 GB, free: 0.5393 GB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/2.723, allocations: 6.438 kB / 1.802 GB, free: 0.5393 GB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00443/2.727, allocations: 1.519 MB / 1.803 GB, free: 0.5392 GB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001746/2.729, allocations: 99.03 kB / 1.803 GB, free: 0.5392 GB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005745/2.735, allocations: 0.6342 MB / 1.804 GB, free: 0.5392 GB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006715/2.736, allocations: 326 kB / 1.804 GB, free: 0.5392 GB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01219/2.748, allocations: 5.793 MB / 1.81 GB, free: 0.5385 GB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01227/2.76, allocations: 7.886 MB / 1.817 GB, free: 0.5358 GB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002894/2.763, allocations: 2.149 MB / 1.819 GB, free: 0.535 GB / 1.136 GB Notification: Performance of sorting global known variables: time 0.009204/2.772, allocations: 5.489 MB / 1.825 GB, free: 0.5331 GB / 1.136 GB Notification: Performance of Backend: time 9.82e-07/2.772, allocations: 0 / 1.825 GB, free: 0.5331 GB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.02611/2.798, allocations: 11.57 MB / 1.836 GB, free: 0.5293 GB / 1.136 GB Notification: Performance of SimCode: time 0.03973/2.838, allocations: 26.08 MB / 1.862 GB, free: 0.5156 GB / 1.136 GB Notification: Performance of Templates: time 0.2426/3.081, allocations: 202.3 MB / 2.059 GB, free: 326.6 MB / 1.136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System4.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System4.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System4.pipe 2>&1)