Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3.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.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3") 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.242 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.001065/0.001065, allocations: 180.5 kB / 376.9 MB, free: 1.797 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.383/1.383, allocations: 205 MB / 0.6354 GB, free: 9.766 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.0009639/0.0009639, allocations: 98.28 kB / 0.748 GB, free: 61.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2677, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System3): time 0.7848/1.053, allocations: 355.4 MB / 1.329 GB, free: 112 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.05863/1.111, allocations: 42.04 MB / 1.37 GB, free: 5.969 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01184/1.123, allocations: 147.1 kB / 1.371 GB, free: 5.824 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.009442/1.133, allocations: 2.421 MB / 1.373 GB, free: 3.391 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.594/1.727, allocations: 7.993 MB / 1.381 GB, free: 22.04 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.01537/1.742, allocations: 5.677 MB / 1.386 GB, free: 21.96 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.02215/1.764, allocations: 15.82 MB / 1.402 GB, free: 21.95 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008964/1.773, allocations: 4.443 MB / 1.406 GB, free: 21.49 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01816/1.792, allocations: 5.396 MB / 1.411 GB, free: 21.47 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01203/1.804, allocations: 3.985 MB / 1.415 GB, free: 21.44 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.003059/1.807, allocations: 298.1 kB / 1.415 GB, free: 21.44 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02127/1.828, allocations: 9.107 MB / 1.424 GB, free: 21.44 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.004401/1.832, allocations: 1.54 MB / 1.426 GB, free: 21.21 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.009165/1.842, allocations: 2.964 MB / 1.429 GB, free: 20.33 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.02973/1.871, allocations: 11.86 MB / 1.44 GB, free: 19.04 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/1.871, allocations: 0 / 1.44 GB, free: 19.04 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.134e-06/1.871, allocations: 0 / 1.44 GB, free: 19.04 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004906/1.872, allocations: 4 kB / 1.44 GB, free: 19.03 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: 1029 * Number of variables: 1029 Notification: Performance of Generate backend data structure: time 0.03287/1.905, allocations: 6.954 MB / 1.447 GB, free: 16.09 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.905, allocations: 13.12 kB / 1.447 GB, free: 16.08 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02341/1.928, allocations: 3.207 MB / 1.45 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01374/1.942, allocations: 4.106 MB / 1.454 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00157/1.944, allocations: 490.7 kB / 1.455 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003121/1.947, allocations: 427.1 kB / 1.455 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02258/1.969, allocations: 5.688 MB / 1.461 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003244/1.97, allocations: 5.75 kB / 1.461 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002094/1.972, allocations: 168.6 kB / 1.461 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003053/1.972, allocations: 158.6 kB / 1.461 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03379/2.006, allocations: 6.332 MB / 1.467 GB, free: 13.75 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.06776/2.074, allocations: 21.81 MB / 1.489 GB, free: 2.199 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/2.086, allocations: 4.632 MB / 1.493 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006644/2.093, allocations: 2.538 MB / 1.496 GB, free: 500 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02075/2.114, allocations: 8.172 MB / 1.503 GB, free: 12.78 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008055/2.122, allocations: 2.794 MB / 1.506 GB, free: 10.99 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002974/2.125, allocations: 282.2 kB / 1.506 GB, free: 10.77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=317): time 1.089e-05/2.125, allocations: 0 / 1.506 GB, free: 10.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=324): time 0.04583/2.17, allocations: 13.59 MB / 1.52 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/2.171, allocations: 299.5 kB / 1.52 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005666/2.176, allocations: 3.432 MB / 1.523 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001169/2.178, allocations: 103.7 kB / 1.523 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002095/2.18, allocations: 2.051 MB / 1.525 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001774/2.181, allocations: 1.091 MB / 1.527 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001605/2.183, allocations: 0.7652 MB / 1.527 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001023/2.183, allocations: 305.1 kB / 1.528 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006606/2.19, allocations: 2.291 MB / 1.53 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007475/2.197, allocations: 3.032 MB / 1.533 GB, free: 0.7422 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.01609/2.213, allocations: 5.66 MB / 1.538 GB, free: 10.91 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/2.213, allocations: 4 kB / 1.538 GB, free: 10.91 MB / 0.9792 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.01958/2.233, allocations: 6.358 MB / 1.545 GB, free: 4.605 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/2.233, allocations: 13.25 kB / 1.545 GB, free: 4.594 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.941e-05/2.233, allocations: 12 kB / 1.545 GB, free: 4.582 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002268/2.235, allocations: 0.6086 MB / 1.545 GB, free: 3.961 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006669/2.242, allocations: 1.201 MB / 1.546 GB, free: 2.805 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/2.252, allocations: 10.68 MB / 1.557 GB, free: 7.457 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008142/2.261, allocations: 0.631 MB / 1.557 GB, free: 6.828 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009721/2.262, allocations: 175.9 kB / 1.558 GB, free: 6.656 MB / 0.9948 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.008895/2.271, allocations: 3.114 MB / 1.561 GB, free: 3.539 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007992/2.279, allocations: 2.986 MB / 1.564 GB, free: 316 kB / 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.01696/2.296, allocations: 5.589 MB / 1.569 GB, free: 10.55 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.116e-05/2.296, allocations: 4 kB / 1.569 GB, free: 10.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=462) (initialization_lambda0): time 0.01932/2.315, allocations: 6.245 MB / 1.575 GB, free: 4.352 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/2.315, allocations: 15.94 kB / 1.575 GB, free: 4.336 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-05/2.315, allocations: 16 kB / 1.575 GB, free: 4.32 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002094/2.317, allocations: 0.5818 MB / 1.576 GB, free: 3.723 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006956/2.324, allocations: 1.191 MB / 1.577 GB, free: 2.574 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/2.336, allocations: 11.6 MB / 1.588 GB, free: 6.188 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008961/2.345, allocations: 0.6446 MB / 1.589 GB, free: 5.539 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009726/2.346, allocations: 171.2 kB / 1.589 GB, free: 5.375 MB / 1.026 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: 61 * Number of states: 0 () * Number of discrete variables: 14 (cooCoi.UAFroRated.isFulWet,cooCoi.UAFroRated.isFulDry,cooCoi.flowRegime_nominal,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,con.y,$PRE.con.y,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 (424): * Single equations (assignments): 411 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(1,1), (1,3), (1,2), (1,18), (1,4), (1,3), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001711/2.347, allocations: 406.6 kB / 1.589 GB, free: 5.016 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001792/2.349, allocations: 438.5 kB / 1.59 GB, free: 4.586 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01782/2.367, allocations: 5.941 MB / 1.596 GB, free: 14.61 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.334e-05/2.367, allocations: 36 kB / 1.596 GB, free: 14.57 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/2.367, allocations: 0 / 1.596 GB, free: 14.57 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01412/2.381, allocations: 4.887 MB / 1.6 GB, free: 9.648 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 postOpt removeSimpleEquations (simulation): time 0.0286/2.41, allocations: 11.27 MB / 1.611 GB, free: 14.36 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/2.41, allocations: 4 kB / 1.611 GB, free: 14.36 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005091/2.415, allocations: 0.948 MB / 1.612 GB, free: 13.43 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001548/2.417, allocations: 371.3 kB / 1.613 GB, free: 13.05 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003873/2.417, allocations: 103.9 kB / 1.613 GB, free: 12.95 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006202/2.423, allocations: 7.602 MB / 1.62 GB, free: 4.773 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/2.423, allocations: 0 / 1.62 GB, free: 4.773 MB / 1.057 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.05818/2.481, allocations: 16.42 MB / 1.636 GB, free: 4.195 MB / 1.073 GB Error: post-optimization module symbolicJacobian (simulation) failed.