Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7049/0.7049, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 403.4 MB, free: 7.066 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009947/0.0009946, allocations: 112.5 kB / 484.4 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009944/0.0009944, allocations: 55.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1586, allocations: 80.21 MB / 0.6402 GB, free: 6.773 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.9502/1.109, allocations: 367.1 MB / 0.9987 GB, free: 33.69 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03618/1.145, allocations: 33.57 MB / 1.032 GB, free: 33.18 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006221/1.151, allocations: 143.2 kB / 1.032 GB, free: 33.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00608/1.157, allocations: 1.94 MB / 1.034 GB, free: 33.14 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01755/1.175, allocations: 6.926 MB / 1.04 GB, free: 32.84 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01056/1.186, allocations: 4.102 MB / 1.044 GB, free: 32.69 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01499/1.201, allocations: 13.69 MB / 1.058 GB, free: 30.09 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005977/1.207, allocations: 3.272 MB / 1.061 GB, free: 28.14 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01542/1.222, allocations: 4.771 MB / 1.066 GB, free: 26.29 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006382/1.228, allocations: 3.351 MB / 1.069 GB, free: 23.7 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001363/1.23, allocations: 240 kB / 1.069 GB, free: 23.46 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01262/1.242, allocations: 7.249 MB / 1.076 GB, free: 17.43 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001503/1.244, allocations: 1.159 MB / 1.077 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003685/1.248, allocations: 2.508 MB / 1.08 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01249/1.26, allocations: 9.756 MB / 1.089 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.26, allocations: 0 / 1.089 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.202e-06/1.26, allocations: 0 / 1.089 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001868/1.26, allocations: 4 kB / 1.089 GB, free: 4.719 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01465/1.275, allocations: 5.933 MB / 1.095 GB, free: 14.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/1.275, allocations: 12.03 kB / 1.095 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0298/1.305, allocations: 4.281 MB / 1.099 GB, free: 10.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007821/1.313, allocations: 3.596 MB / 1.103 GB, free: 6.969 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001515/1.314, allocations: 0.5202 MB / 1.103 GB, free: 6.441 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009717/1.315, allocations: 358.3 kB / 1.104 GB, free: 6.098 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0161/1.331, allocations: 5.72 MB / 1.109 GB, free: 312 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.77e-05/1.332, allocations: 1.125 kB / 1.109 GB, free: 312 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004304/1.332, allocations: 135.1 kB / 1.109 GB, free: 180 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/1.332, allocations: 138.5 kB / 1.109 GB, free: 40 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02131/1.353, allocations: 6.848 MB / 1.116 GB, free: 9.203 MB / 0.7136 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.03939/1.393, allocations: 22.2 MB / 1.138 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01206/1.405, allocations: 4.07 MB / 1.142 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006914/1.412, allocations: 2.262 MB / 1.144 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01438/1.426, allocations: 8.173 MB / 1.152 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007726/1.434, allocations: 2.393 MB / 1.154 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=230): time 6.302e-06/1.434, allocations: 3.375 kB / 1.154 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of matching and sorting (n=230): time 0.03351/1.468, allocations: 8.432 MB / 1.163 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/1.468, allocations: 73.41 kB / 1.163 GB, free: 8.582 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008277/1.476, allocations: 4.286 MB / 1.167 GB, free: 4.277 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0007692/1.477, allocations: 73.7 kB / 1.167 GB, free: 4.199 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002154/1.479, allocations: 1.824 MB / 1.169 GB, free: 2.375 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001409/1.48, allocations: 0.7954 MB / 1.169 GB, free: 1.586 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002398/1.483, allocations: 0.8041 MB / 1.17 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.483, allocations: 301.1 kB / 1.17 GB, free: 488 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01272/1.496, allocations: 2.742 MB / 1.173 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01394/1.51, allocations: 3.423 MB / 1.177 GB, free: 10.09 MB / 0.7761 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.0262/1.536, allocations: 5.957 MB / 1.182 GB, free: 3.957 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.87e-05/1.536, allocations: 4 kB / 1.182 GB, free: 3.953 MB / 0.7761 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.0372/1.573, allocations: 7.591 MB / 1.19 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 5.604e-05/1.573, allocations: 13.41 kB / 1.19 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-05/1.573, allocations: 12.5 kB / 1.19 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005369/1.579, allocations: 0.9748 MB / 1.191 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01205/1.591, allocations: 1.414 MB / 1.192 GB, free: 10.01 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02199/1.613, allocations: 13.73 MB / 1.205 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01509/1.628, allocations: 1.294 MB / 1.207 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001455/1.629, allocations: 179.8 kB / 1.207 GB, free: 9.844 MB / 0.8073 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: hexWetNTU.UAFroRated.TAirIn = 293.15 hexWetNTU.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (418): * Single equations (assignments): 403 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 9 * 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): 9 systems {(1,1), (1,3), (1,2), (1,2), (1,4), (1,2), (1,4), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003323/1.633, allocations: 0.8606 MB / 1.208 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001922/1.635, allocations: 418.8 kB / 1.208 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02333/1.658, allocations: 5.795 MB / 1.214 GB, free: 2.789 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.223e-05/1.658, allocations: 32.02 kB / 1.214 GB, free: 2.758 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.658, allocations: 0 / 1.214 GB, free: 2.758 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.339e-05/1.658, allocations: 11.95 kB / 1.214 GB, free: 2.746 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0295/1.688, allocations: 10.91 MB / 1.225 GB, free: 7.777 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/1.688, allocations: 12.05 kB / 1.225 GB, free: 7.766 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004792/1.692, allocations: 0.6619 MB / 1.225 GB, free: 7.125 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003478/1.696, allocations: 0.7898 MB / 1.226 GB, free: 6.312 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003733/1.696, allocations: 79.91 kB / 1.226 GB, free: 6.234 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/1.709, allocations: 10.97 MB / 1.237 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/1.709, allocations: 10.25 kB / 1.237 GB, free: 10.44 MB / 0.8386 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "hexWetNTU.flowRegime = if hexWetNTU.C1_flow * hexWetNTU.C2_flow >= 0.0 then IDEAS.Fluid.Types.HeatExchangerFlowRegime.CounterFlow else IDEAS.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.07691/1.786, allocations: 16.7 MB / 1.253 GB, free: 9.598 MB / 0.8542 GB Error: post-optimization module symbolicJacobian (simulation) failed.