Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUHeating.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.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUHeating") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.63/1.63, allocations: 292.3 MB / 308.1 MB, free: 4.309 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.001353/0.001353, allocations: 192.5 kB / 376.9 MB, free: 1.832 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.599/1.599, allocations: 205.1 MB / 0.6354 GB, free: 9.82 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.001295/0.001295, allocations: 97.8 kB / 0.748 GB, free: 61.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 55.92 kB / 0.8703 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3003, allocations: 114.6 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUHeating): time 1.821/2.122, allocations: 441.1 MB / 1.413 GB, free: 27.57 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.06192/2.184, allocations: 37.23 MB / 1.449 GB, free: 27.12 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01352/2.197, allocations: 183 kB / 1.45 GB, free: 27.12 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0118/2.209, allocations: 2.477 MB / 1.452 GB, free: 27.08 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.03335/2.242, allocations: 8.893 MB / 1.461 GB, free: 26.69 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.01771/2.26, allocations: 5.302 MB / 1.466 GB, free: 26.52 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.2197/2.48, allocations: 151.3 MB / 1.614 GB, free: 8.25 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09485/2.575, allocations: 41.22 MB / 1.654 GB, free: 15.43 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.08796/2.663, allocations: 30.65 MB / 1.684 GB, free: 1.992 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07936/2.742, allocations: 32.04 MB / 1.715 GB, free: 4.496 MB / 1.104 GB Notification: Performance of NFPackage.collectConstants: time 0.01734/2.76, allocations: 2.074 MB / 1.717 GB, free: 2.422 MB / 1.104 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05352/2.813, allocations: 10.88 MB / 1.728 GB, free: 8.43 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 0.0274/2.841, allocations: 11.04 MB / 1.738 GB, free: 13.57 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 0.06146/2.902, allocations: 22.65 MB / 1.761 GB, free: 7.035 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 1.667/4.569, allocations: 80.51 MB / 1.839 GB, free: 158.5 MB / 1.182 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/4.569, allocations: 2.156 kB / 1.839 GB, free: 158.5 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.114e-06/4.57, allocations: 0 / 1.839 GB, free: 158.5 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.004359/4.574, allocations: 0 / 1.839 GB, free: 158.5 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7129 * Number of variables: 7129 Notification: Performance of Generate backend data structure: time 0.2271/4.801, allocations: 47.2 MB / 1.885 GB, free: 142.9 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/4.801, allocations: 8.875 kB / 1.885 GB, free: 142.9 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08784/4.889, allocations: 10.38 MB / 1.895 GB, free: 140.5 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1091/4.998, allocations: 43.34 MB / 1.938 GB, free: 129.8 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004534/5.003, allocations: 2.384 MB / 1.94 GB, free: 129.7 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01949/5.022, allocations: 2.876 MB / 1.943 GB, free: 129.6 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1537/5.176, allocations: 44.04 MB / 1.986 GB, free: 114 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002079/5.178, allocations: 81.59 kB / 1.986 GB, free: 114 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01937/5.197, allocations: 1.142 MB / 1.987 GB, free: 113.1 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001534/5.199, allocations: 1.33 MB / 1.988 GB, free: 112.9 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1144/5.313, allocations: 39.89 MB / 2.027 GB, free: 77.95 MB / 1.182 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.3764/5.69, allocations: 190.3 MB / 2.213 GB, free: 6.148 MB / 1.307 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0507/5.741, allocations: 25.62 MB / 2.238 GB, free: 11.95 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03828/5.779, allocations: 16.71 MB / 2.255 GB, free: 11.25 MB / 1.354 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.9378/6.717, allocations: 50.26 MB / 2.304 GB, free: 0.5906 GB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004996/6.717, allocations: 254.1 kB / 2.304 GB, free: 0.5904 GB / 1.354 GB Notification: Performance of pre-optimization done (n=1492): time 1.615e-05/6.717, allocations: 3.281 kB / 2.304 GB, free: 0.5904 GB / 1.354 GB Notification: Performance of matching and sorting (n=1494): time 0.2123/6.93, allocations: 56.86 MB / 2.359 GB, free: 0.5708 GB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/6.93, allocations: 203.3 kB / 2.36 GB, free: 0.5707 GB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1059/7.036, allocations: 33.78 MB / 2.393 GB, free: 0.5602 GB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.007442/7.043, allocations: 404 kB / 2.393 GB, free: 0.5599 GB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.02785/7.071, allocations: 17.25 MB / 2.41 GB, free: 0.5471 GB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.0128/7.084, allocations: 5.311 MB / 2.415 GB, free: 0.5431 GB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02536/7.109, allocations: 4.394 MB / 2.419 GB, free: 0.5412 GB / 1.354 GB Notification: Performance of setup shared object (initialization): time 5.746e-05/7.11, allocations: 312.9 kB / 2.42 GB, free: 0.5409 GB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02966/7.139, allocations: 11.62 MB / 2.431 GB, free: 0.5355 GB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03898/7.178, allocations: 18.44 MB / 2.449 GB, free: 0.5176 GB / 1.354 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: hexDis.ele[1].vol2.dynBal.medium.p = hexDis.ele[1].vol2.dynBal.p_start (sinAir.p = hexDis.ele[1].vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.234/7.412, allocations: 73.67 MB / 2.521 GB, free: 462.2 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001674/7.413, allocations: 36 kB / 2.521 GB, free: 462.1 MB / 1.354 GB Notification: Performance of matching and sorting (n=2710) (initialization): time 0.1033/7.516, allocations: 32.67 MB / 2.553 GB, free: 429.4 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/7.516, allocations: 67.94 kB / 2.553 GB, free: 429.3 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002873/7.516, allocations: 136.1 kB / 2.553 GB, free: 429.2 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/7.518, allocations: 466.2 kB / 2.553 GB, free: 428.7 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02749/7.545, allocations: 5.347 MB / 2.559 GB, free: 423.4 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/7.548, allocations: 2.995 MB / 2.562 GB, free: 420.2 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05547/7.604, allocations: 3.544 MB / 2.565 GB, free: 416.7 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009688/7.613, allocations: 0.8511 MB / 2.566 GB, free: 415.8 MB / 1.354 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: hexDis.ele[1].vol2.dynBal.medium.p = hexDis.ele[1].vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * Number of states: 0 () * Number of discrete variables: 6 (hexWetNTU_TX.flowRegime_nominal,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,hexDryNTU_T.flowRegime_nominal,hexWetNTU_TX.flowRegime,hexDryNTU_T.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2670): * Single equations (assignments): 2635 * Array equations: 32 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0464/7.66, allocations: 14.18 MB / 2.58 GB, free: 401.6 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01761/7.677, allocations: 3.069 MB / 2.583 GB, free: 398.5 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07668/7.754, allocations: 23.91 MB / 2.606 GB, free: 374.6 MB / 1.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.518e-05/7.754, allocations: 144 kB / 2.606 GB, free: 374.4 MB / 1.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/7.754, allocations: 0 / 2.606 GB, free: 374.4 MB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05522/7.81, allocations: 19.12 MB / 2.625 GB, free: 355.3 MB / 1.354 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1904/8, allocations: 58.69 MB / 2.682 GB, free: 296.7 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.667e-05/8, allocations: 11.09 kB / 2.682 GB, free: 296.7 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02276/8.023, allocations: 4.225 MB / 2.686 GB, free: 292.4 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009992/8.024, allocations: 193.5 kB / 2.687 GB, free: 292.2 MB / 1.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004558/8.029, allocations: 447.8 kB / 2.687 GB, free: 291.8 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/8.03, allocations: 2.037 MB / 2.689 GB, free: 289.6 MB / 1.354 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/8.03, allocations: 16.06 kB / 2.689 GB, free: 289.6 MB / 1.354 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "hexWetNTU_TX.flowRegime = if hexWetNTU_TX.C1_flow * hexWetNTU_TX.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.2207/8.251, allocations: 80.84 MB / 2.768 GB, free: 208.3 MB / 1.354 GB Error: post-optimization module symbolicJacobian (simulation) failed.