Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.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.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 292.3 MB / 308.1 MB, free: 4.289 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.001224/0.001224, allocations: 184.5 kB / 376.9 MB, free: 1.812 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.524/1.524, allocations: 205 MB / 0.6353 GB, free: 9.777 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.001047/0.001047, allocations: 94.39 kB / 0.7479 GB, free: 61.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 51.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2973, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.831/2.129, allocations: 487.4 MB / 1.458 GB, free: 36.98 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0712/2.2, allocations: 47.77 MB / 1.505 GB, free: 35.99 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01735/2.217, allocations: 212 kB / 1.505 GB, free: 35.99 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.01734/2.235, allocations: 2.922 MB / 1.508 GB, free: 35.93 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.04461/2.28, allocations: 10.37 MB / 1.518 GB, free: 35.43 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.02244/2.302, allocations: 6.215 MB / 1.524 GB, free: 33.26 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.2151/2.517, allocations: 161.7 MB / 1.682 GB, free: 8.367 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1263/2.644, allocations: 48.28 MB / 1.729 GB, free: 8.52 MB / 1.089 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1038/2.747, allocations: 33.03 MB / 1.761 GB, free: 8.727 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08663/2.834, allocations: 35.19 MB / 1.796 GB, free: 8.141 MB / 1.151 GB Notification: Performance of NFPackage.collectConstants: time 0.01869/2.853, allocations: 2.379 MB / 1.798 GB, free: 5.762 MB / 1.151 GB Notification: Performance of NFFlatten.collectFunctions: time 1.668/4.521, allocations: 12.69 MB / 1.81 GB, free: 87.63 MB / 1.151 GB Notification: Performance of NFScalarize.scalarize: time 0.02974/4.55, allocations: 12.18 MB / 1.822 GB, free: 87.63 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 0.09382/4.644, allocations: 25.44 MB / 1.847 GB, free: 83.7 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.1624/4.807, allocations: 91.48 MB / 1.937 GB, free: 75.18 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/4.807, allocations: 4.562 kB / 1.937 GB, free: 75.18 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.713e-06/4.807, allocations: 0 / 1.937 GB, free: 75.18 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.005281/4.812, allocations: 0 / 1.937 GB, free: 75.18 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8429 * Number of variables: 8429 Notification: Performance of Generate backend data structure: time 0.2394/5.052, allocations: 53.33 MB / 1.989 GB, free: 53.15 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/5.052, allocations: 11.25 kB / 1.989 GB, free: 53.15 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09537/5.147, allocations: 13.31 MB / 2.002 GB, free: 47.63 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1523/5.299, allocations: 46.9 MB / 2.047 GB, free: 33.14 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005594/5.305, allocations: 2.755 MB / 2.05 GB, free: 32.57 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02281/5.328, allocations: 3.364 MB / 2.053 GB, free: 31.46 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1842/5.512, allocations: 51.85 MB / 2.104 GB, free: 10.36 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003617/5.516, allocations: 81.73 kB / 2.104 GB, free: 10.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02216/5.538, allocations: 1.336 MB / 2.105 GB, free: 8.98 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002049/5.54, allocations: 1.503 MB / 2.107 GB, free: 7.48 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1546/5.695, allocations: 47.65 MB / 2.153 GB, free: 7.996 MB / 1.214 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 1.114/6.809, allocations: 214.8 MB / 2.363 GB, free: 453.6 MB / 1.323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07069/6.879, allocations: 29.99 MB / 2.393 GB, free: 446.1 MB / 1.323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05994/6.939, allocations: 19.62 MB / 2.412 GB, free: 439.4 MB / 1.323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1992/7.139, allocations: 60.86 MB / 2.471 GB, free: 412.9 MB / 1.323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04573/7.184, allocations: 15.67 MB / 2.486 GB, free: 407.3 MB / 1.323 GB Notification: Performance of pre-optimization done (n=1799): time 5.448e-05/7.184, allocations: 0 / 2.486 GB, free: 407.3 MB / 1.323 GB Notification: Performance of matching and sorting (n=1801): time 0.2764/7.461, allocations: 71.39 MB / 2.556 GB, free: 373.3 MB / 1.323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005818/7.461, allocations: 1.762 MB / 2.558 GB, free: 371.2 MB / 1.323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.113/7.574, allocations: 37.43 MB / 2.594 GB, free: 334 MB / 1.323 GB Notification: Performance of collectPreVariables (initialization): time 0.009321/7.584, allocations: 456.2 kB / 2.595 GB, free: 333.5 MB / 1.323 GB Notification: Performance of collectInitialEqns (initialization): time 0.04403/7.628, allocations: 19.7 MB / 2.614 GB, free: 313.7 MB / 1.323 GB Notification: Performance of collectInitialBindings (initialization): time 0.01522/7.643, allocations: 6.393 MB / 2.62 GB, free: 307.4 MB / 1.323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03511/7.678, allocations: 5.128 MB / 2.625 GB, free: 302.3 MB / 1.323 GB Notification: Performance of setup shared object (initialization): time 8.666e-05/7.678, allocations: 301.1 kB / 2.626 GB, free: 302 MB / 1.323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04235/7.721, allocations: 14.22 MB / 2.64 GB, free: 287.7 MB / 1.323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05038/7.771, allocations: 22.15 MB / 2.661 GB, free: 262.7 MB / 1.323 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. 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.3127/8.084, allocations: 93.41 MB / 2.752 GB, free: 167.8 MB / 1.323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002761/8.084, allocations: 44 kB / 2.752 GB, free: 167.8 MB / 1.323 GB Notification: Performance of matching and sorting (n=3119) (initialization): time 0.1299/8.214, allocations: 39.26 MB / 2.791 GB, free: 129.4 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003506/8.215, allocations: 68.78 kB / 2.791 GB, free: 129.3 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004139/8.215, allocations: 148 kB / 2.791 GB, free: 129.1 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003178/8.218, allocations: 0.8065 MB / 2.792 GB, free: 128.3 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03636/8.255, allocations: 6.471 MB / 2.798 GB, free: 122.2 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008908/8.264, allocations: 9.821 MB / 2.808 GB, free: 111.6 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06177/8.325, allocations: 4.282 MB / 2.812 GB, free: 107.3 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009126/8.335, allocations: 0.974 MB / 2.813 GB, free: 106.4 MB / 1.323 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: hexWetNTU.UAFroRated.TAirIn = 293.15 hexWetNTU.UAFroRated.TWatIn = 293.15 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: 678 * Number of states: 0 () * Number of discrete variables: 13 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,hexWetNTU.flowRegime_nominal,hexWetNTU_TX.flowRegime_nominal,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent,hexWetNTU_TX.flowRegime,hexWetNTU.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3067): * Single equations (assignments): 3024 * Array equations: 34 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 7 systems {(1,1), (1,3), (1,2), (1,2), (1,2), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.05183/8.387, allocations: 16 MB / 2.828 GB, free: 90.33 MB / 1.323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02035/8.407, allocations: 3.404 MB / 2.832 GB, free: 86.89 MB / 1.323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1089/8.516, allocations: 30.19 MB / 2.861 GB, free: 56.66 MB / 1.323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001964/8.516, allocations: 172 kB / 2.861 GB, free: 56.5 MB / 1.323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.264e-05/8.516, allocations: 3.984 kB / 2.861 GB, free: 56.49 MB / 1.323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07832/8.595, allocations: 24.4 MB / 2.885 GB, free: 32.03 MB / 1.323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.985/9.58, allocations: 71.33 MB / 2.955 GB, free: 0.4952 GB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002413/9.58, allocations: 6.375 kB / 2.955 GB, free: 0.4952 GB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0282/9.608, allocations: 5.026 MB / 2.96 GB, free: 0.4952 GB / 1.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002675/9.611, allocations: 485.2 kB / 2.96 GB, free: 0.4952 GB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006197/9.617, allocations: 0.5062 MB / 2.961 GB, free: 0.4952 GB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006235/9.623, allocations: 6.989 MB / 2.968 GB, free: 0.4892 GB / 1.323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/9.623, allocations: 7.656 kB / 2.968 GB, free: 0.4892 GB / 1.323 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.2487/9.872, allocations: 81.51 MB / 3.047 GB, free: 476.1 MB / 1.323 GB Error: post-optimization module symbolicJacobian (simulation) failed.