Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System3") translateModel(Buildings.Examples.Tutorial.CDL.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.804/1.804, allocations: 288.4 MB / 304.3 MB, free: 8.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 180.5 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.4 MB / 0.6316 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008652/0.0008651, allocations: 94.31 kB / 0.745 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003991, allocations: 11.72 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2653, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System3): time 1.853/2.118, allocations: 482.5 MB / 1.452 GB, free: 48.87 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.1121/2.23, allocations: 69.13 MB / 1.519 GB, free: 47.65 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02225/2.253, allocations: 361.8 kB / 1.52 GB, free: 47.65 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.02125/2.274, allocations: 3.648 MB / 1.523 GB, free: 47.59 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.04676/2.321, allocations: 11.26 MB / 1.534 GB, free: 47.04 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.03241/2.353, allocations: 8.921 MB / 1.543 GB, free: 46.63 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.05229/2.406, allocations: 35.46 MB / 1.578 GB, free: 39.74 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02197/2.428, allocations: 9.783 MB / 1.587 GB, free: 36.17 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02526/2.453, allocations: 9.532 MB / 1.597 GB, free: 32.58 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01892/2.472, allocations: 8.122 MB / 1.604 GB, free: 29.38 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.004579/2.477, allocations: 431.3 kB / 1.605 GB, free: 29.37 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02069/2.497, allocations: 5.317 MB / 1.61 GB, free: 27.64 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.006523/2.504, allocations: 2.369 MB / 1.612 GB, free: 25.87 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01645/2.52, allocations: 5.591 MB / 1.618 GB, free: 21.72 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02278/2.543, allocations: 15.07 MB / 1.633 GB, free: 9.004 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/2.543, allocations: 0 / 1.633 GB, free: 9.004 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.485e-06/2.543, allocations: 0 / 1.633 GB, free: 9.004 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007967/2.544, allocations: 4 kB / 1.633 GB, free: 9 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.02424/2.568, allocations: 10.98 MB / 1.643 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/2.568, allocations: 8.031 kB / 1.643 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01077/2.579, allocations: 2.073 MB / 1.645 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02601/2.605, allocations: 10.31 MB / 1.655 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008981/2.606, allocations: 0.5708 MB / 1.656 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003747/2.61, allocations: 0.7707 MB / 1.657 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02854/2.639, allocations: 8.638 MB / 1.665 GB, free: 14.56 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004585/2.639, allocations: 11.94 kB / 1.665 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002318/2.641, allocations: 318 kB / 1.665 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003885/2.642, allocations: 286.1 kB / 1.666 GB, free: 14.2 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01941/2.661, allocations: 7.039 MB / 1.673 GB, free: 9.406 MB / 0.9792 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.08384/2.745, allocations: 41.27 MB / 1.713 GB, free: 5.691 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008837/2.754, allocations: 4.638 MB / 1.717 GB, free: 2.551 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004792/2.759, allocations: 2.403 MB / 1.72 GB, free: 1.012 MB / 1.01 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.02915/2.788, allocations: 10.39 MB / 1.73 GB, free: 8.016 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005237/2.793, allocations: 2.513 MB / 1.732 GB, free: 5.465 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005015/2.798, allocations: 467.8 kB / 1.733 GB, free: 5.008 MB / 1.026 GB Notification: Performance of pre-optimization done (n=402): time 3.52e-05/2.798, allocations: 0 / 1.733 GB, free: 5.008 MB / 1.026 GB Notification: Performance of matching and sorting (n=411): time 0.05183/2.85, allocations: 14.84 MB / 1.747 GB, free: 5.91 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000342/2.851, allocations: 0.5771 MB / 1.748 GB, free: 5.203 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02101/2.872, allocations: 8.19 MB / 1.756 GB, free: 13.04 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.00138/2.873, allocations: 133.2 kB / 1.756 GB, free: 12.91 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.00722/2.88, allocations: 5.069 MB / 1.761 GB, free: 7.82 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.002536/2.883, allocations: 1.428 MB / 1.762 GB, free: 6.406 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/2.884, allocations: 112 kB / 1.762 GB, free: 6.297 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0006141/2.885, allocations: 0.522 MB / 1.763 GB, free: 5.77 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00613/2.891, allocations: 2.166 MB / 1.765 GB, free: 3.598 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007997/2.899, allocations: 3.98 MB / 1.769 GB, free: 14.86 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01366/2.913, allocations: 5.758 MB / 1.775 GB, free: 8.484 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.825e-05/2.913, allocations: 12 kB / 1.775 GB, free: 8.473 MB / 1.073 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.02513/2.938, allocations: 7.924 MB / 1.782 GB, free: 456 kB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001185/2.939, allocations: 1.294 MB / 1.784 GB, free: 14.59 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/2.939, allocations: 40 kB / 1.784 GB, free: 14.55 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009917/2.949, allocations: 1.863 MB / 1.785 GB, free: 12.68 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005886/2.955, allocations: 1.236 MB / 1.787 GB, free: 11.44 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/2.966, allocations: 7.885 MB / 1.794 GB, free: 3.09 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01108/2.977, allocations: 0.7523 MB / 1.795 GB, free: 2.34 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/2.979, allocations: 275.9 kB / 1.795 GB, free: 2.07 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/2.979, allocations: 4 kB / 1.795 GB, free: 2.066 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02088/3, allocations: 6.946 MB / 1.802 GB, free: 11.03 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/3, allocations: 44 kB / 1.802 GB, free: 10.98 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008661/3.009, allocations: 1.719 MB / 1.804 GB, free: 9.258 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005376/3.014, allocations: 1.178 MB / 1.805 GB, free: 8.078 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/3.029, allocations: 9.803 MB / 1.815 GB, free: 13.73 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01037/3.039, allocations: 0.7177 MB / 1.815 GB, free: 13.02 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001358/3.04, allocations: 259.5 kB / 1.816 GB, free: 12.77 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,conBoiRet.conPID.con1.y,$whenCondition3,$whenCondition2,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (665): * Single equations (assignments): 649 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 3 {4 7,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.006969/3.047, allocations: 2.293 MB / 1.818 GB, free: 10.46 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002948/3.05, allocations: 0.9105 MB / 1.819 GB, free: 9.539 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/3.064, allocations: 6.122 MB / 1.825 GB, free: 3.367 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008758/3.073, allocations: 4.547 MB / 1.829 GB, free: 14.79 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/3.073, allocations: 0 / 1.829 GB, free: 14.79 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005614/3.078, allocations: 1.672 MB / 1.831 GB, free: 13.08 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002355/3.081, allocations: 92 kB / 1.831 GB, free: 12.99 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007302/3.088, allocations: 0.6199 MB / 1.831 GB, free: 12.37 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000871/3.089, allocations: 327.1 kB / 1.832 GB, free: 12.05 MB / 1.135 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01415/3.103, allocations: 5.757 MB / 1.837 GB, free: 6.336 MB / 1.135 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01484/3.118, allocations: 7.825 MB / 1.845 GB, free: 14.46 MB / 1.151 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003739/3.122, allocations: 2.109 MB / 1.847 GB, free: 12.35 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.01021/3.132, allocations: 5.398 MB / 1.852 GB, free: 6.98 MB / 1.151 GB Notification: Performance of Backend: time 1.152e-06/3.132, allocations: 0 / 1.852 GB, free: 6.98 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.7284/3.861, allocations: 11.32 MB / 1.863 GB, free: 0.5104 GB / 1.151 GB Notification: Performance of SimCode: time 0.05715/3.918, allocations: 25.33 MB / 1.888 GB, free: 0.5004 GB / 1.151 GB Notification: Performance of Templates: time 0.2851/4.203, allocations: 201 MB / 2.084 GB, free: 344 MB / 1.151 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System3.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System3.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System3.pipe 2>&1)