Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System2") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.529/1.529, allocations: 292.3 MB / 308.1 MB, free: 4.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 198.2 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205 MB / 0.6354 GB, free: 9.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009725/0.0009724, allocations: 98.28 kB / 0.748 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009847/0.0009847, allocations: 51.91 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2514, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System2): time 0.8069/1.058, allocations: 355.3 MB / 1.329 GB, free: 260 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.06067/1.119, allocations: 42.02 MB / 1.37 GB, free: 6.133 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009441/1.128, allocations: 151.1 kB / 1.37 GB, free: 5.984 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.01/1.139, allocations: 2.414 MB / 1.373 GB, free: 3.559 MB / 0.9323 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.6621/1.801, allocations: 7.987 MB / 1.381 GB, free: 22.16 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.02044/1.821, allocations: 5.666 MB / 1.386 GB, free: 22.1 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.03572/1.857, allocations: 15.8 MB / 1.401 GB, free: 22.08 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01429/1.871, allocations: 4.421 MB / 1.406 GB, free: 21.63 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01968/1.891, allocations: 5.367 MB / 1.411 GB, free: 21.61 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0107/1.902, allocations: 3.978 MB / 1.415 GB, free: 21.59 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.003198/1.905, allocations: 296 kB / 1.415 GB, free: 21.59 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02047/1.925, allocations: 9.102 MB / 1.424 GB, free: 21.59 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.003885/1.929, allocations: 1.533 MB / 1.426 GB, free: 21.37 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.008223/1.938, allocations: 2.94 MB / 1.428 GB, free: 20.49 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.02633/1.964, allocations: 11.83 MB / 1.44 GB, free: 19.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/1.964, allocations: 0 / 1.44 GB, free: 19.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.343e-06/1.964, allocations: 0.6875 kB / 1.44 GB, free: 19.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004224/1.964, allocations: 0 / 1.44 GB, free: 19.2 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1020 * Number of variables: 1020 Notification: Performance of Generate backend data structure: time 0.02741/1.992, allocations: 6.891 MB / 1.447 GB, free: 16.27 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/1.992, allocations: 15.03 kB / 1.447 GB, free: 16.27 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02309/2.015, allocations: 3.203 MB / 1.45 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0128/2.028, allocations: 4.106 MB / 1.454 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001509/2.029, allocations: 487.4 kB / 1.454 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002391/2.032, allocations: 417.2 kB / 1.455 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02009/2.052, allocations: 5.653 MB / 1.46 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001972/2.052, allocations: 10.34 kB / 1.46 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00146/2.054, allocations: 168.5 kB / 1.46 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000234/2.054, allocations: 160.2 kB / 1.461 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01793/2.072, allocations: 6.311 MB / 1.467 GB, free: 14.06 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.04359/2.115, allocations: 21.9 MB / 1.488 GB, free: 2.367 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009302/2.125, allocations: 4.355 MB / 1.492 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005715/2.131, allocations: 2.423 MB / 1.495 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01616/2.147, allocations: 8.036 MB / 1.503 GB, free: 13.07 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006869/2.154, allocations: 2.669 MB / 1.505 GB, free: 11.73 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002986/2.157, allocations: 290.8 kB / 1.506 GB, free: 11.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=306): time 1.181e-05/2.157, allocations: 0 / 1.506 GB, free: 11.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=306): time 0.02373/2.18, allocations: 7.388 MB / 1.513 GB, free: 5.789 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/2.181, allocations: 317.1 kB / 1.513 GB, free: 5.41 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008593/2.189, allocations: 3.617 MB / 1.517 GB, free: 1.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001144/2.19, allocations: 99.81 kB / 1.517 GB, free: 1.668 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002583/2.193, allocations: 2.053 MB / 1.519 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001842/2.195, allocations: 1.038 MB / 1.52 GB, free: 14.58 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003572/2.198, allocations: 0.7572 MB / 1.52 GB, free: 13.82 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001008/2.199, allocations: 309.1 kB / 1.521 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007241/2.206, allocations: 2.24 MB / 1.523 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007854/2.214, allocations: 2.977 MB / 1.526 GB, free: 8.047 MB / 0.9636 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01663/2.23, allocations: 5.477 MB / 1.531 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-05/2.23, allocations: 4 kB / 1.531 GB, free: 2.395 MB / 0.9636 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.02112/2.252, allocations: 6.041 MB / 1.537 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/2.252, allocations: 8 kB / 1.537 GB, free: 12.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.931e-05/2.252, allocations: 16.47 kB / 1.537 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/2.253, allocations: 364.3 kB / 1.537 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007391/2.261, allocations: 1.244 MB / 1.539 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005879/2.267, allocations: 6.591 MB / 1.545 GB, free: 3.777 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009128/2.276, allocations: 0.6683 MB / 1.546 GB, free: 3.113 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001291/2.277, allocations: 175.9 kB / 1.546 GB, free: 2.941 MB / 0.9792 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: cooCoi.UAFroRated.TAirIn = 293.15 cooCoi.UAFroRated.TWatIn = 293.15. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01048/2.288, allocations: 3.048 MB / 1.549 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007869/2.296, allocations: 2.935 MB / 1.552 GB, free: 12.71 MB / 0.9948 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01621/2.312, allocations: 5.396 MB / 1.557 GB, free: 7.145 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.01e-05/2.312, allocations: 4 kB / 1.557 GB, free: 7.141 MB / 0.9948 GB Notification: Performance of matching and sorting (n=451) (initialization_lambda0): time 0.02278/2.335, allocations: 5.929 MB / 1.563 GB, free: 1.254 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/2.335, allocations: 12 kB / 1.563 GB, free: 1.242 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.853e-05/2.335, allocations: 16.03 kB / 1.563 GB, free: 1.227 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001517/2.336, allocations: 339 kB / 1.563 GB, free: 0.8828 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007469/2.344, allocations: 1.225 MB / 1.564 GB, free: 15.71 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006315/2.35, allocations: 6.941 MB / 1.571 GB, free: 8.227 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009416/2.36, allocations: 0.6642 MB / 1.572 GB, free: 7.559 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/2.361, allocations: 167.9 kB / 1.572 GB, free: 7.395 MB / 1.01 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: cooCoi.UAFroRated.TAirIn = 293.15 cooCoi.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 12 (cooCoi.UAFroRated.isFulWet,cooCoi.UAFroRated.isFulDry,cooCoi.flowRegime_nominal,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,cooCoi.flowRegime,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (435): * Single equations (assignments): 423 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,1), (1,3), (1,2), (1,3), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002298/2.363, allocations: 398 kB / 1.572 GB, free: 7.047 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002465/2.366, allocations: 442.6 kB / 1.573 GB, free: 6.609 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01987/2.386, allocations: 5.633 MB / 1.578 GB, free: 0.9414 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-05/2.386, allocations: 39.97 kB / 1.578 GB, free: 0.9023 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/2.386, allocations: 0 / 1.578 GB, free: 0.9023 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01509/2.401, allocations: 4.52 MB / 1.583 GB, free: 12.34 MB / 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 postOpt removeSimpleEquations (simulation): time 0.03458/2.435, allocations: 10.73 MB / 1.593 GB, free: 1.59 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/2.435, allocations: 7.938 kB / 1.593 GB, free: 1.582 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005604/2.441, allocations: 0.8984 MB / 1.594 GB, free: 0.7148 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001582/2.443, allocations: 310.6 kB / 1.594 GB, free: 408 kB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008515/2.444, allocations: 91.92 kB / 1.594 GB, free: 316 kB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005424/2.449, allocations: 6.109 MB / 1.6 GB, free: 9.742 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/2.449, allocations: 0 / 1.6 GB, free: 9.742 MB / 1.042 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "cooCoi.flowRegime = if cooCoi.C1_flow * cooCoi.C2_flow >= 0.0 then Buildings.Fluid.Types.HeatExchangerFlowRegime.CounterFlow else Buildings.Fluid.Types.HeatExchangerFlowRegime.ParallelFlow" w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05889/2.508, allocations: 15.56 MB / 1.616 GB, free: 10.01 MB / 1.057 GB Error: post-optimization module symbolicJacobian (simulation) failed.