Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System2") translateModel(Buildings.Examples.Tutorial.CDL.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.25/2.25, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001305/0.001305, allocations: 175.3 kB / 326.3 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.011/3.011, allocations: 205.4 MB / 0.5772 GB, free: 21.21 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.0009902/0.0009894, allocations: 88.22 kB / 0.6817 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004977/0.0004979, allocations: 15.17 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2156, allocations: 106.3 MB / 0.8995 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System2): time 1.378/1.594, allocations: 482 MB / 1.37 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.9894/2.583, allocations: 68.8 MB / 1.437 GB, free: 20.5 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0173/2.601, allocations: 354.1 kB / 1.438 GB, free: 20.5 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01785/2.619, allocations: 3.528 MB / 1.441 GB, free: 20.44 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1/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.1/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.1/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.04524/2.664, allocations: 10.54 MB / 1.451 GB, free: 19.96 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.03778/2.702, allocations: 8.569 MB / 1.46 GB, free: 19.64 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.05949/2.761, allocations: 35.22 MB / 1.494 GB, free: 19.57 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02489/2.786, allocations: 9.225 MB / 1.503 GB, free: 17.99 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02862/2.815, allocations: 9.238 MB / 1.512 GB, free: 16.73 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02121/2.836, allocations: 8.045 MB / 1.52 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.004792/2.841, allocations: 415.5 kB / 1.521 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02166/2.863, allocations: 3.927 MB / 1.524 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.006627/2.869, allocations: 2.323 MB / 1.527 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.007637/2.877, allocations: 2.382 MB / 1.529 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02776/2.905, allocations: 14.46 MB / 1.543 GB, free: 3.312 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/2.905, allocations: 0 / 1.543 GB, free: 3.312 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.705e-06/2.905, allocations: 0 / 1.543 GB, free: 3.312 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0007448/2.906, allocations: 0 / 1.543 GB, free: 3.312 MB / 0.9011 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.03734/2.943, allocations: 10.9 MB / 1.554 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/2.943, allocations: 12.03 kB / 1.554 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0175/2.96, allocations: 2.051 MB / 1.556 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03678/2.997, allocations: 9.794 MB / 1.565 GB, free: 3.648 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009354/2.998, allocations: 0.5617 MB / 1.566 GB, free: 3.324 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003283/3.002, allocations: 0.7481 MB / 1.567 GB, free: 2.816 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03347/3.035, allocations: 8.409 MB / 1.575 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003942/3.036, allocations: 23.77 kB / 1.575 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002505/3.038, allocations: 298.2 kB / 1.575 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004387/3.039, allocations: 281.7 kB / 1.575 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02618/3.065, allocations: 6.89 MB / 1.582 GB, free: 7.727 MB / 0.9323 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.1042/3.169, allocations: 40.57 MB / 1.622 GB, free: 4.508 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0143/3.183, allocations: 4.624 MB / 1.626 GB, free: 1.371 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007647/3.191, allocations: 2.321 MB / 1.629 GB, free: 15.88 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 evalFunc (simulation): time 0.04157/3.233, allocations: 10.13 MB / 1.638 GB, free: 8.238 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008912/3.242, allocations: 2.385 MB / 1.641 GB, free: 6.547 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006416/3.248, allocations: 456.9 kB / 1.641 GB, free: 6.168 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=390): time 1.886e-05/3.248, allocations: 0 / 1.641 GB, free: 6.168 MB / 0.9792 GB Notification: Performance of matching and sorting (n=399): time 0.06794/3.316, allocations: 14.47 MB / 1.655 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003418/3.317, allocations: 0.558 MB / 1.656 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02114/3.338, allocations: 8.07 MB / 1.664 GB, free: 4.301 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001432/3.339, allocations: 123 kB / 1.664 GB, free: 4.242 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007366/3.347, allocations: 4.971 MB / 1.669 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002769/3.349, allocations: 1.384 MB / 1.67 GB, free: 472 kB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006712/3.35, allocations: 115.1 kB / 1.67 GB, free: 448 kB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0004737/3.351, allocations: 0.5119 MB / 1.671 GB, free: 8 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0083/3.359, allocations: 2.114 MB / 1.673 GB, free: 14.61 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/3.37, allocations: 3.882 MB / 1.676 GB, free: 10.86 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/3.38, allocations: 2.706 MB / 1.679 GB, free: 9.141 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.07e-05/3.38, allocations: 8 kB / 1.679 GB, free: 9.133 MB / 1.01 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.04279/3.423, allocations: 7.936 MB / 1.687 GB, free: 3.051 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001301/3.424, allocations: 1.278 MB / 1.688 GB, free: 1.348 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/3.424, allocations: 43.98 kB / 1.688 GB, free: 1.305 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01746/3.442, allocations: 1.84 MB / 1.69 GB, free: 15.63 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0104/3.452, allocations: 1.21 MB / 1.691 GB, free: 14.46 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01683/3.469, allocations: 7.864 MB / 1.699 GB, free: 7.016 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01518/3.484, allocations: 0.7367 MB / 1.7 GB, free: 6.375 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001614/3.486, allocations: 269.1 kB / 1.7 GB, free: 6.156 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/3.486, allocations: 4 kB / 1.7 GB, free: 6.152 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02985/3.516, allocations: 6.839 MB / 1.707 GB, free: 1.227 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000165/3.516, allocations: 48.2 kB / 1.707 GB, free: 1.18 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01608/3.532, allocations: 1.706 MB / 1.708 GB, free: 15.64 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009711/3.542, allocations: 1.166 MB / 1.709 GB, free: 14.52 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02359/3.566, allocations: 9.825 MB / 1.719 GB, free: 5.777 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01452/3.58, allocations: 0.7139 MB / 1.72 GB, free: 5.152 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00165/3.582, allocations: 256.9 kB / 1.72 GB, free: 4.945 MB / 1.042 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 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,$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 (649): * Single equations (assignments): 633 * 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 {3 8,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.008219/3.59, allocations: 2.255 MB / 1.722 GB, free: 3.613 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003346/3.594, allocations: 0.895 MB / 1.723 GB, free: 2.707 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02258/3.616, allocations: 6.006 MB / 1.729 GB, free: 14.53 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01646/3.633, allocations: 4.425 MB / 1.733 GB, free: 11.46 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.152e-05/3.633, allocations: 0 / 1.733 GB, free: 11.46 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007312/3.64, allocations: 1.621 MB / 1.735 GB, free: 9.852 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003212/3.643, allocations: 99.92 kB / 1.735 GB, free: 9.754 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01281/3.656, allocations: 0.6197 MB / 1.735 GB, free: 9.133 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00136/3.658, allocations: 315 kB / 1.736 GB, free: 8.824 MB / 1.057 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02567/3.683, allocations: 5.608 MB / 1.741 GB, free: 3.258 MB / 1.057 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02575/3.709, allocations: 7.618 MB / 1.749 GB, free: 11.59 MB / 1.073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006589/3.716, allocations: 2.058 MB / 1.751 GB, free: 9.527 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01622/3.732, allocations: 5.32 MB / 1.756 GB, free: 4.234 MB / 1.073 GB Notification: Performance of Backend: time 8.02e-07/3.732, allocations: 0 / 1.756 GB, free: 4.234 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.04923/3.781, allocations: 11.1 MB / 1.767 GB, free: 9.555 MB / 1.089 GB Notification: Performance of SimCode: time 0.07909/3.86, allocations: 25.03 MB / 1.791 GB, free: 0.5742 MB / 1.104 GB Notification: Performance of Templates: time 1.757/5.618, allocations: 195.4 MB / 1.982 GB, free: 392.6 MB / 1.12 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System2.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System2.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System2.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System2.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System2.pipe 2>&1)