Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System5.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.System5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System5") translateModel(Buildings.Examples.Tutorial.CDL.System5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.259/2.259, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.00137/0.00137, allocations: 178.2 kB / 326.3 MB, free: 2.852 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.341/2.341, 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.0009864/0.0009861, allocations: 104.3 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007325/0.0007327, allocations: 9.562 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2301, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System5): time 1.38/1.61, allocations: 482.8 MB / 1.371 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.9231/2.533, allocations: 69.1 MB / 1.438 GB, free: 20.68 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01804/2.551, allocations: 361.6 kB / 1.439 GB, free: 20.68 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01893/2.57, allocations: 3.563 MB / 1.442 GB, free: 20.62 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.04607/2.616, allocations: 10.57 MB / 1.453 GB, free: 20.14 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.03763/2.654, allocations: 8.64 MB / 1.461 GB, free: 19.82 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.06056/2.715, allocations: 35.53 MB / 1.496 GB, free: 19.75 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02551/2.74, allocations: 9.463 MB / 1.505 GB, free: 17.91 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02848/2.769, allocations: 9.305 MB / 1.514 GB, free: 16.45 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02182/2.791, allocations: 8.136 MB / 1.522 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.006513/2.797, allocations: 421.8 kB / 1.522 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03056/2.828, allocations: 3.946 MB / 1.526 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.008726/2.837, allocations: 2.358 MB / 1.529 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.01021/2.847, allocations: 2.424 MB / 1.531 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.03118/2.878, allocations: 14.82 MB / 1.545 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/2.878, allocations: 3.25 kB / 1.545 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.316e-06/2.878, allocations: 0 / 1.545 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0007026/2.879, allocations: 6.688 kB / 1.545 GB, free: 2.637 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: 1872 * Number of variables: 1872 Notification: Performance of Generate backend data structure: time 0.03796/2.917, allocations: 11.22 MB / 1.556 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/2.917, allocations: 8.031 kB / 1.556 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01744/2.934, allocations: 2.08 MB / 1.558 GB, free: 8.777 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03659/2.971, allocations: 9.945 MB / 1.568 GB, free: 1.867 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009234/2.972, allocations: 0.5778 MB / 1.569 GB, free: 1.535 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003412/2.976, allocations: 0.7811 MB / 1.569 GB, free: 1.008 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03164/3.007, allocations: 8.644 MB / 1.578 GB, free: 10.81 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004807/3.008, allocations: 23.03 kB / 1.578 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002444/3.01, allocations: 313.7 kB / 1.578 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004456/3.011, allocations: 288.4 kB / 1.579 GB, free: 10.44 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02688/3.038, allocations: 7.086 MB / 1.585 GB, free: 5.625 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.1023/3.14, allocations: 41.48 MB / 1.626 GB, free: 1.734 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/3.154, allocations: 4.738 MB / 1.631 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008341/3.162, allocations: 2.429 MB / 1.633 GB, free: 12.99 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.04456/3.207, allocations: 10.39 MB / 1.643 GB, free: 5.203 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009166/3.216, allocations: 2.49 MB / 1.646 GB, free: 3.445 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006735/3.223, allocations: 467.1 kB / 1.646 GB, free: 3.062 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=412): time 2.032e-05/3.223, allocations: 4 kB / 1.646 GB, free: 3.059 MB / 0.9792 GB Notification: Performance of matching and sorting (n=421): time 0.07412/3.297, allocations: 14.91 MB / 1.661 GB, free: 7.418 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003609/3.297, allocations: 0.5803 MB / 1.661 GB, free: 6.711 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02323/3.321, allocations: 8.187 MB / 1.669 GB, free: 0.7969 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001437/3.322, allocations: 135.3 kB / 1.669 GB, free: 0.7344 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00774/3.33, allocations: 5.047 MB / 1.674 GB, free: 14.11 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.00301/3.333, allocations: 1.455 MB / 1.676 GB, free: 12.86 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/3.334, allocations: 119.6 kB / 1.676 GB, free: 12.83 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0005872/3.335, allocations: 0.5233 MB / 1.676 GB, free: 12.39 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009522/3.344, allocations: 2.185 MB / 1.678 GB, free: 10.95 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01204/3.356, allocations: 4.006 MB / 1.682 GB, free: 7.09 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/3.367, allocations: 2.768 MB / 1.685 GB, free: 5.344 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.884e-05/3.368, allocations: 12 kB / 1.685 GB, free: 5.332 MB / 1.01 GB Notification: Performance of matching and sorting (n=738) (initialization): time 0.03985/3.407, allocations: 8.134 MB / 1.693 GB, free: 15.12 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001308/3.409, allocations: 1.301 MB / 1.694 GB, free: 13.38 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001693/3.409, allocations: 44 kB / 1.694 GB, free: 13.34 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01815/3.427, allocations: 1.848 MB / 1.696 GB, free: 11.66 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01072/3.438, allocations: 1.24 MB / 1.697 GB, free: 10.46 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01758/3.456, allocations: 7.861 MB / 1.705 GB, free: 3.031 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01602/3.472, allocations: 0.8047 MB / 1.706 GB, free: 2.328 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001709/3.473, allocations: 273.4 kB / 1.706 GB, free: 2.105 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/3.473, allocations: 4 kB / 1.706 GB, free: 2.102 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0325/3.506, allocations: 6.992 MB / 1.713 GB, free: 13.09 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001649/3.506, allocations: 47.98 kB / 1.713 GB, free: 13.04 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01653/3.523, allocations: 1.709 MB / 1.714 GB, free: 11.5 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009803/3.533, allocations: 1.189 MB / 1.716 GB, free: 10.35 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0241/3.557, allocations: 9.789 MB / 1.725 GB, free: 1.66 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01482/3.572, allocations: 0.7502 MB / 1.726 GB, free: 1.008 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001649/3.573, allocations: 264.8 kB / 1.726 GB, free: 0.793 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 177 * Number of states: 0 () * Number of discrete variables: 22 ($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,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 (673): * Single equations (assignments): 657 * 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.009436/3.583, allocations: 2.301 MB / 1.728 GB, free: 15.44 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005315/3.588, allocations: 0.9104 MB / 1.729 GB, free: 14.52 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02647/3.615, allocations: 6.215 MB / 1.735 GB, free: 9.316 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01988/3.634, allocations: 4.59 MB / 1.74 GB, free: 4.695 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.34e-05/3.635, allocations: 0 / 1.74 GB, free: 4.695 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007511/3.642, allocations: 1.664 MB / 1.742 GB, free: 3 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003667/3.646, allocations: 99.98 kB / 1.742 GB, free: 2.902 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01336/3.659, allocations: 0.6528 MB / 1.742 GB, free: 2.25 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001593/3.661, allocations: 347.1 kB / 1.743 GB, free: 1.91 MB / 1.057 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02699/3.688, allocations: 5.824 MB / 1.748 GB, free: 12.13 MB / 1.073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02787/3.716, allocations: 7.922 MB / 1.756 GB, free: 4.156 MB / 1.073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007031/3.723, allocations: 2.145 MB / 1.758 GB, free: 2.008 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01589/3.739, allocations: 5.394 MB / 1.763 GB, free: 12.64 MB / 1.089 GB Notification: Performance of Backend: time 7.22e-07/3.739, allocations: 0 / 1.763 GB, free: 12.64 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.05165/3.791, allocations: 11.33 MB / 1.774 GB, free: 1.75 MB / 1.089 GB Notification: Performance of SimCode: time 0.0813/3.872, allocations: 25.53 MB / 1.799 GB, free: 8.277 MB / 1.12 GB Notification: Performance of Templates: time 1.679/5.551, allocations: 198.8 MB / 1.993 GB, free: 379.9 MB / 1.12 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System5.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System5.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System5.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System5.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System5.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System5.pipe 2>&1)