Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System2.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.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System2") translateModel(Buildings.Examples.Tutorial.CDL.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.334/1.334, 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.001043/0.001044, allocations: 177.1 kB / 326.5 MB, free: 2.715 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.62/1.62, allocations: 205 MB / 0.5767 GB, free: 21.04 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.0007385/0.0007385, allocations: 91.86 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003164, allocations: 8.875 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2252, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System2): time 1.498/1.723, allocations: 0.5069 GB / 1.404 GB, free: 18.16 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.1069/1.83, allocations: 73.61 MB / 1.476 GB, free: 17.02 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.021/1.851, allocations: 371.3 kB / 1.476 GB, free: 17.02 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01745/1.868, allocations: 4.232 MB / 1.48 GB, free: 16.93 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.0478/1.916, allocations: 12.39 MB / 1.492 GB, free: 16.37 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.03161/1.948, allocations: 10.47 MB / 1.502 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0486/1.996, allocations: 41.19 MB / 1.543 GB, free: 8.812 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01566/2.012, allocations: 9.536 MB / 1.552 GB, free: 3.695 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0249/2.037, allocations: 9.722 MB / 1.561 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01855/2.056, allocations: 8.543 MB / 1.57 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.004108/2.06, allocations: 420 kB / 1.57 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02088/2.081, allocations: 5.561 MB / 1.576 GB, free: 4.371 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.005774/2.086, allocations: 2.432 MB / 1.578 GB, free: 2.004 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.01519/2.102, allocations: 5.743 MB / 1.584 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.03534/2.137, allocations: 18.26 MB / 1.601 GB, free: 10.68 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/2.137, allocations: 0 / 1.601 GB, free: 10.68 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.027e-06/2.137, allocations: 0 / 1.601 GB, free: 10.68 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009485/2.138, allocations: 0 / 1.601 GB, free: 10.68 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: 1813 * Number of variables: 1813 Notification: Performance of Generate backend data structure: time 0.02569/2.164, allocations: 10.78 MB / 1.612 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/2.164, allocations: 11.97 kB / 1.612 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01206/2.176, allocations: 2.057 MB / 1.614 GB, free: 13.81 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02301/2.199, allocations: 10.15 MB / 1.624 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000609/2.2, allocations: 0.5658 MB / 1.624 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002166/2.202, allocations: 0.7484 MB / 1.625 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01936/2.221, allocations: 8.455 MB / 1.633 GB, free: 9.781 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001576/2.221, allocations: 19.78 kB / 1.633 GB, free: 9.762 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007177/2.222, allocations: 307.8 kB / 1.634 GB, free: 9.465 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002274/2.222, allocations: 281.4 kB / 1.634 GB, free: 9.188 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01508/2.237, allocations: 6.946 MB / 1.641 GB, free: 2.223 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.06945/2.307, allocations: 40.57 MB / 1.68 GB, free: 7.188 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/2.317, allocations: 4.663 MB / 1.685 GB, free: 2.438 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004676/2.322, allocations: 2.324 MB / 1.687 GB, free: 120 kB / 1.026 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.02661/2.349, allocations: 10.12 MB / 1.697 GB, free: 5.613 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005743/2.355, allocations: 2.395 MB / 1.699 GB, free: 3.176 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005308/2.36, allocations: 458.5 kB / 1.7 GB, free: 2.727 MB / 1.042 GB Notification: Performance of pre-optimization done (n=390): time 1.492e-05/2.36, allocations: 0 / 1.7 GB, free: 2.727 MB / 1.042 GB Notification: Performance of matching and sorting (n=399): time 0.04362/2.404, allocations: 14.59 MB / 1.714 GB, free: 3.863 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002778/2.404, allocations: 0.5519 MB / 1.715 GB, free: 3.188 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01697/2.421, allocations: 8.153 MB / 1.723 GB, free: 11.05 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001143/2.422, allocations: 132.4 kB / 1.723 GB, free: 10.92 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.006152/2.428, allocations: 4.947 MB / 1.728 GB, free: 5.957 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002277/2.431, allocations: 1.39 MB / 1.729 GB, free: 4.578 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001504/2.432, allocations: 489.9 kB / 1.729 GB, free: 4.094 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001017/2.432, allocations: 305.1 kB / 1.73 GB, free: 3.793 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005415/2.438, allocations: 2.217 MB / 1.732 GB, free: 1.57 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00696/2.445, allocations: 3.997 MB / 1.736 GB, free: 12.82 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/2.456, allocations: 5.82 MB / 1.741 GB, free: 6.395 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.355e-05/2.456, allocations: 16 kB / 1.741 GB, free: 6.379 MB / 1.089 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.0294/2.485, allocations: 8.35 MB / 1.75 GB, free: 13.92 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.001048/2.486, allocations: 1.27 MB / 1.751 GB, free: 12.09 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/2.486, allocations: 47.98 kB / 1.751 GB, free: 12.05 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009547/2.496, allocations: 1.889 MB / 1.753 GB, free: 10.15 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005378/2.501, allocations: 1.201 MB / 1.754 GB, free: 8.949 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/2.512, allocations: 7.85 MB / 1.762 GB, free: 0.6328 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009437/2.521, allocations: 0.7426 MB / 1.762 GB, free: 15.89 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/2.522, allocations: 267.9 kB / 1.762 GB, free: 15.63 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/2.522, allocations: 6.188 kB / 1.762 GB, free: 15.63 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01992/2.542, allocations: 7.066 MB / 1.769 GB, free: 8.465 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001492/2.542, allocations: 43.98 kB / 1.769 GB, free: 8.422 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008566/2.551, allocations: 1.718 MB / 1.771 GB, free: 6.695 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004924/2.556, allocations: 1.151 MB / 1.772 GB, free: 5.543 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/2.57, allocations: 9.772 MB / 1.782 GB, free: 11.23 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009086/2.579, allocations: 0.7193 MB / 1.782 GB, free: 10.51 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/2.58, allocations: 255.9 kB / 1.783 GB, free: 10.26 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (649): * Single equations (assignments): 633 * 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 {(3,8), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.005789/2.586, allocations: 2.261 MB / 1.785 GB, free: 7.984 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003297/2.59, allocations: 0.8911 MB / 1.786 GB, free: 7.082 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/2.604, allocations: 6.023 MB / 1.792 GB, free: 1.008 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.7165/3.321, allocations: 4.457 MB / 1.796 GB, free: 0.5397 GB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/3.321, allocations: 0 / 1.796 GB, free: 0.5397 GB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004689/3.325, allocations: 1.489 MB / 1.797 GB, free: 0.5396 GB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002342/3.328, allocations: 98.75 kB / 1.798 GB, free: 0.5396 GB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007124/3.335, allocations: 0.6165 MB / 1.798 GB, free: 0.5396 GB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008896/3.336, allocations: 314.1 kB / 1.798 GB, free: 0.5396 GB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01479/3.351, allocations: 5.634 MB / 1.804 GB, free: 0.5393 GB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01473/3.365, allocations: 7.655 MB / 1.811 GB, free: 0.5378 GB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003588/3.369, allocations: 2.076 MB / 1.814 GB, free: 0.537 GB / 1.136 GB Notification: Performance of sorting global known variables: time 0.01078/3.38, allocations: 5.4 MB / 1.819 GB, free: 0.5352 GB / 1.136 GB Notification: Performance of Backend: time 8.11e-07/3.38, allocations: 0 / 1.819 GB, free: 0.5352 GB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.03097/3.411, allocations: 11.3 MB / 1.83 GB, free: 0.5316 GB / 1.136 GB Notification: Performance of SimCode: time 0.049/3.46, allocations: 25.62 MB / 1.855 GB, free: 0.519 GB / 1.136 GB Notification: Performance of Templates: time 0.2583/3.718, allocations: 200.6 MB / 2.051 GB, free: 334.8 MB / 1.136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System2.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System2.pipe 2>&1)