Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System5.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.System5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System5") translateModel(Buildings.Examples.Tutorial.CDL.System5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.352/1.352, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009158/0.000916, allocations: 191.9 kB / 326.5 MB, free: 2.707 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.4/1.4, allocations: 205 MB / 0.5767 GB, free: 20.99 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.0008081/0.000808, allocations: 97.23 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002728, allocations: 8.688 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.151, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System5): time 1.176/1.327, allocations: 0.5078 GB / 1.404 GB, free: 18.19 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.08411/1.412, allocations: 73.92 MB / 1.477 GB, free: 17.05 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01521/1.427, allocations: 379.3 kB / 1.477 GB, free: 17.05 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01324/1.44, allocations: 4.268 MB / 1.481 GB, free: 16.96 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.03219/1.472, allocations: 12.41 MB / 1.493 GB, free: 16.41 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.02466/1.497, allocations: 10.59 MB / 1.504 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.03617/1.533, allocations: 41.53 MB / 1.544 GB, free: 8.223 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01404/1.547, allocations: 9.752 MB / 1.554 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02034/1.568, allocations: 9.797 MB / 1.563 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01683/1.584, allocations: 8.63 MB / 1.572 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.003456/1.588, allocations: 420 kB / 1.572 GB, free: 7.98 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01765/1.606, allocations: 5.575 MB / 1.578 GB, free: 2.766 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.004923/1.611, allocations: 2.479 MB / 1.58 GB, free: 364 kB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.01215/1.623, allocations: 5.842 MB / 1.586 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.02832/1.651, allocations: 18.69 MB / 1.604 GB, free: 8.504 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.651, allocations: 0 / 1.604 GB, free: 8.504 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.984e-06/1.651, allocations: 4 kB / 1.604 GB, free: 8.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005379/1.652, allocations: 0 / 1.604 GB, free: 8.5 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: 1872 * Number of variables: 1872 Notification: Performance of Generate backend data structure: time 0.0218/1.674, allocations: 11.09 MB / 1.615 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.674, allocations: 8.031 kB / 1.615 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/1.684, allocations: 2.085 MB / 1.617 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01974/1.704, allocations: 10.31 MB / 1.627 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004855/1.704, allocations: 0.5776 MB / 1.627 GB, free: 0.6016 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001835/1.706, allocations: 0.7734 MB / 1.628 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01822/1.724, allocations: 8.695 MB / 1.637 GB, free: 6.824 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001968/1.724, allocations: 27.77 kB / 1.637 GB, free: 6.797 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007809/1.725, allocations: 316.5 kB / 1.637 GB, free: 6.492 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002414/1.725, allocations: 289.9 kB / 1.637 GB, free: 6.207 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/1.741, allocations: 7.143 MB / 1.644 GB, free: 15.05 MB / 0.9948 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.06059/1.801, allocations: 41.48 MB / 1.685 GB, free: 3.109 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00734/1.809, allocations: 4.754 MB / 1.689 GB, free: 14.29 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004055/1.813, allocations: 2.442 MB / 1.692 GB, free: 11.85 MB / 1.042 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.02454/1.837, allocations: 10.39 MB / 1.702 GB, free: 1.082 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004204/1.842, allocations: 2.507 MB / 1.704 GB, free: 14.54 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003778/1.845, allocations: 460 kB / 1.705 GB, free: 14.09 MB / 1.057 GB Notification: Performance of pre-optimization done (n=412): time 1.298e-05/1.845, allocations: 0 / 1.705 GB, free: 14.09 MB / 1.057 GB Notification: Performance of matching and sorting (n=421): time 0.03775/1.883, allocations: 15.04 MB / 1.72 GB, free: 14.79 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002455/1.883, allocations: 0.5811 MB / 1.72 GB, free: 14.08 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01431/1.898, allocations: 8.271 MB / 1.728 GB, free: 5.836 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.899, allocations: 133.7 kB / 1.728 GB, free: 5.699 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00522/1.904, allocations: 5.053 MB / 1.733 GB, free: 0.6367 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001929/1.906, allocations: 1.449 MB / 1.735 GB, free: 15.2 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/1.907, allocations: 0.5 MB / 1.735 GB, free: 14.69 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 8.485e-05/1.907, allocations: 301.1 kB / 1.735 GB, free: 14.39 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005085/1.912, allocations: 2.295 MB / 1.738 GB, free: 12.09 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006409/1.919, allocations: 4.114 MB / 1.742 GB, free: 7.219 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/1.929, allocations: 6.001 MB / 1.748 GB, free: 0.6094 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.754e-05/1.929, allocations: 8 kB / 1.748 GB, free: 0.6016 MB / 1.089 GB Notification: Performance of matching and sorting (n=738) (initialization): time 0.02282/1.952, allocations: 8.539 MB / 1.756 GB, free: 7.957 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008606/1.953, allocations: 1.29 MB / 1.757 GB, free: 6.102 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.323e-05/1.953, allocations: 47.98 kB / 1.757 GB, free: 6.055 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008888/1.962, allocations: 1.87 MB / 1.759 GB, free: 4.18 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005121/1.967, allocations: 1.236 MB / 1.76 GB, free: 2.941 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/1.977, allocations: 7.869 MB / 1.768 GB, free: 10.6 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008562/1.986, allocations: 0.7865 MB / 1.769 GB, free: 9.82 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009565/1.987, allocations: 279.8 kB / 1.769 GB, free: 9.547 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 8.146e-06/1.987, allocations: 4.625 kB / 1.769 GB, free: 9.543 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01819/2.005, allocations: 7.207 MB / 1.776 GB, free: 2.242 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.416e-05/2.005, allocations: 49.17 kB / 1.776 GB, free: 2.195 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00799/2.013, allocations: 1.729 MB / 1.778 GB, free: 468 kB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004555/2.018, allocations: 1.186 MB / 1.779 GB, free: 15.27 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/2.031, allocations: 9.781 MB / 1.788 GB, free: 4.941 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00823/2.04, allocations: 0.7491 MB / 1.789 GB, free: 4.195 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00102/2.041, allocations: 263.9 kB / 1.789 GB, free: 3.938 MB / 1.135 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 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,boiSigCon.u,radPumCon.u,conEquSta.hys.y,$PRE.conEquSta.hys.y,conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,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,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 (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 {(2,4,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.005561/2.046, allocations: 2.31 MB / 1.792 GB, free: 1.621 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002924/2.049, allocations: 0.9067 MB / 1.793 GB, free: 0.7031 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6255/2.675, allocations: 6.216 MB / 1.799 GB, free: 0.5394 GB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00945/2.684, allocations: 4.617 MB / 1.803 GB, free: 0.5391 GB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/2.684, allocations: 0.7031 kB / 1.803 GB, free: 0.5391 GB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005058/2.689, allocations: 1.531 MB / 1.805 GB, free: 0.539 GB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002484/2.692, allocations: 99.28 kB / 1.805 GB, free: 0.539 GB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007032/2.699, allocations: 0.6535 MB / 1.805 GB, free: 0.539 GB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008453/2.7, allocations: 341.1 kB / 1.806 GB, free: 0.539 GB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0134/2.713, allocations: 5.881 MB / 1.811 GB, free: 0.5376 GB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01442/2.727, allocations: 7.958 MB / 1.819 GB, free: 0.5349 GB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004061/2.732, allocations: 2.175 MB / 1.821 GB, free: 0.5341 GB / 1.136 GB Notification: Performance of sorting global known variables: time 0.009353/2.741, allocations: 5.477 MB / 1.827 GB, free: 0.5322 GB / 1.136 GB Notification: Performance of Backend: time 5.21e-07/2.741, allocations: 0 / 1.827 GB, free: 0.5322 GB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.02691/2.768, allocations: 11.55 MB / 1.838 GB, free: 0.5284 GB / 1.136 GB Notification: Performance of SimCode: time 0.04035/2.808, allocations: 26.16 MB / 1.864 GB, free: 0.5134 GB / 1.136 GB Notification: Performance of Templates: time 0.2557/3.064, allocations: 203.9 MB / 2.063 GB, free: 322.6 MB / 1.136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System5.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System5.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System5.pipe 2>&1)