Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System6.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.System6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System6") translateModel(Buildings.Examples.Tutorial.CDL.System6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.105/2.105, 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.001367/0.001367, allocations: 174.1 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.348/2.348, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.000927/0.0009265, allocations: 83.55 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005138/0.0005141, allocations: 12.38 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2066, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System6): time 1.392/1.599, allocations: 483.5 MB / 1.372 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.9227/2.522, allocations: 69.38 MB / 1.439 GB, free: 20.93 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01775/2.539, allocations: 371.6 kB / 1.44 GB, free: 20.93 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0184/2.558, allocations: 3.595 MB / 1.443 GB, free: 20.87 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.04821/2.606, allocations: 10.58 MB / 1.454 GB, free: 20.4 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.03815/2.644, allocations: 8.698 MB / 1.462 GB, free: 20.08 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0551/2.699, allocations: 35.83 MB / 1.497 GB, free: 20.01 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02569/2.725, allocations: 9.682 MB / 1.507 GB, free: 17.82 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02803/2.753, allocations: 9.37 MB / 1.516 GB, free: 16.14 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0201/2.773, allocations: 8.22 MB / 1.524 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.004583/2.778, allocations: 425.5 kB / 1.524 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02107/2.799, allocations: 3.938 MB / 1.528 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.006454/2.806, allocations: 2.405 MB / 1.53 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.007785/2.813, allocations: 2.469 MB / 1.533 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02823/2.842, allocations: 15.16 MB / 1.548 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/2.842, allocations: 0 / 1.548 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.156e-06/2.842, allocations: 0 / 1.548 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0006944/2.842, allocations: 0 / 1.548 GB, free: 2.031 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: 1926 * Number of variables: 1926 Notification: Performance of Generate backend data structure: time 0.03855/2.881, allocations: 11.47 MB / 1.559 GB, free: 9.32 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/2.881, allocations: 8.031 kB / 1.559 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0171/2.898, allocations: 2.108 MB / 1.561 GB, free: 7.203 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0354/2.934, allocations: 10.09 MB / 1.571 GB, free: 208 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009689/2.935, allocations: 0.5887 MB / 1.571 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003299/2.938, allocations: 0.7994 MB / 1.572 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0377/2.976, allocations: 8.86 MB / 1.581 GB, free: 8.977 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004474/2.976, allocations: 19.83 kB / 1.581 GB, free: 8.957 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002189/2.978, allocations: 320.8 kB / 1.581 GB, free: 8.883 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004283/2.979, allocations: 299.9 kB / 1.581 GB, free: 8.598 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0272/3.006, allocations: 7.241 MB / 1.588 GB, free: 3.684 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.1056/3.112, allocations: 42.39 MB / 1.63 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01332/3.125, allocations: 4.893 MB / 1.635 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007783/3.133, allocations: 2.51 MB / 1.637 GB, free: 10.24 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.04029/3.173, allocations: 10.59 MB / 1.647 GB, free: 2.348 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00853/3.182, allocations: 2.573 MB / 1.65 GB, free: 0.5312 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006385/3.188, allocations: 466.6 kB / 1.65 GB, free: 152 kB / 0.9792 GB Notification: Performance of pre-optimization done (n=428): time 1.811e-05/3.188, allocations: 0 / 1.65 GB, free: 152 kB / 0.9792 GB Notification: Performance of matching and sorting (n=437): time 0.07089/3.259, allocations: 15.23 MB / 1.665 GB, free: 4.297 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003514/3.26, allocations: 0.6017 MB / 1.666 GB, free: 3.562 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02243/3.282, allocations: 8.342 MB / 1.674 GB, free: 13.55 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001399/3.284, allocations: 137.8 kB / 1.674 GB, free: 13.48 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.007529/3.291, allocations: 5.163 MB / 1.679 GB, free: 10.79 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002979/3.294, allocations: 1.509 MB / 1.681 GB, free: 9.504 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/3.296, allocations: 116.8 kB / 1.681 GB, free: 9.48 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0007024/3.296, allocations: 0.5281 MB / 1.681 GB, free: 9.039 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009233/3.306, allocations: 2.239 MB / 1.683 GB, free: 7.562 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01167/3.317, allocations: 4.092 MB / 1.687 GB, free: 3.629 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/3.328, allocations: 2.839 MB / 1.69 GB, free: 1.844 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-05/3.328, allocations: 12 kB / 1.69 GB, free: 1.832 MB / 1.01 GB Notification: Performance of matching and sorting (n=759) (initialization): time 0.0384/3.366, allocations: 8.304 MB / 1.698 GB, free: 11.5 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001197/3.368, allocations: 1.309 MB / 1.7 GB, free: 9.754 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001587/3.368, allocations: 48.75 kB / 1.7 GB, free: 9.707 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01718/3.385, allocations: 1.855 MB / 1.701 GB, free: 8.02 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01067/3.396, allocations: 1.272 MB / 1.703 GB, free: 6.789 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/3.412, allocations: 7.864 MB / 1.71 GB, free: 15.36 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.016/3.428, allocations: 0.7958 MB / 1.711 GB, free: 14.66 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001975/3.43, allocations: 282.3 kB / 1.711 GB, free: 14.43 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/3.43, allocations: 4 kB / 1.711 GB, free: 14.43 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03382/3.464, allocations: 7.122 MB / 1.718 GB, free: 9.34 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000162/3.465, allocations: 50.72 kB / 1.718 GB, free: 9.293 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01557/3.48, allocations: 1.712 MB / 1.72 GB, free: 7.746 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009744/3.49, allocations: 1.212 MB / 1.721 GB, free: 6.574 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02265/3.513, allocations: 9.846 MB / 1.731 GB, free: 13.82 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01456/3.527, allocations: 0.7601 MB / 1.732 GB, free: 13.16 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001649/3.529, allocations: 263 kB / 1.732 GB, free: 12.95 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 180 * Number of states: 0 () * Number of discrete variables: 24 ($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,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y,$PRE.conEquSta.hys.y,conEquSta.hys.y,radPumCon.u,boiSigCon.u,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,conRadSup.conPIDRad.cheYMinMax.y,conRadSup.conPIDRad.I.trigger_internal,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 (694): * Single equations (assignments): 678 * 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.008413/3.537, allocations: 2.343 MB / 1.734 GB, free: 10.88 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003398/3.541, allocations: 0.9259 MB / 1.735 GB, free: 9.938 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02314/3.564, allocations: 6.366 MB / 1.741 GB, free: 3.531 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01699/3.581, allocations: 4.7 MB / 1.746 GB, free: 14.8 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/3.581, allocations: 0 / 1.746 GB, free: 14.8 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007146/3.588, allocations: 1.691 MB / 1.747 GB, free: 13.07 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003132/3.591, allocations: 104 kB / 1.748 GB, free: 12.97 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01299/3.604, allocations: 0.6659 MB / 1.748 GB, free: 12.31 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001436/3.606, allocations: 351.3 kB / 1.749 GB, free: 11.96 MB / 1.073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02643/3.632, allocations: 5.981 MB / 1.754 GB, free: 6.035 MB / 1.073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02725/3.66, allocations: 8.133 MB / 1.762 GB, free: 13.86 MB / 1.089 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006831/3.667, allocations: 2.212 MB / 1.764 GB, free: 11.64 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.01544/3.682, allocations: 5.497 MB / 1.77 GB, free: 6.184 MB / 1.089 GB Notification: Performance of Backend: time 8.91e-07/3.682, allocations: 0 / 1.77 GB, free: 6.184 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.04889/3.731, allocations: 11.49 MB / 1.781 GB, free: 11.12 MB / 1.104 GB Notification: Performance of SimCode: time 0.08205/3.813, allocations: 25.99 MB / 1.806 GB, free: 1.176 MB / 1.12 GB Notification: Performance of Templates: time 1.736/5.549, allocations: 201.2 MB / 2.003 GB, free: 369.7 MB / 1.12 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System6.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System6.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System6.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System6.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System6.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System6.pipe 2>&1)