Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001119/0.001119, allocations: 181.5 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-master/package.mo): time 0.7031/0.7031, allocations: 133.3 MB / 150.1 MB, free: 11.18 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.376/1.376, allocations: 222.9 MB / 404.7 MB, free: 6.117 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.001031/0.001031, allocations: 111.4 kB / 485.9 MB, free: 7.246 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009637/0.0009638, allocations: 51.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1142, allocations: 80.43 MB / 0.6421 GB, free: 5.457 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.9637/1.078, allocations: 367.1 MB / 1.001 GB, free: 33.77 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04177/1.12, allocations: 33.57 MB / 1.033 GB, free: 33.24 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007978/1.128, allocations: 143.4 kB / 1.034 GB, free: 33.24 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.007833/1.136, allocations: 1.942 MB / 1.035 GB, free: 33.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02005/1.156, allocations: 6.927 MB / 1.042 GB, free: 32.88 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.011/1.167, allocations: 4.105 MB / 1.046 GB, free: 32.73 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01551/1.182, allocations: 13.69 MB / 1.06 GB, free: 29.56 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007274/1.19, allocations: 3.276 MB / 1.063 GB, free: 27.61 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01558/1.205, allocations: 4.773 MB / 1.067 GB, free: 25.64 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00661/1.212, allocations: 3.354 MB / 1.071 GB, free: 22.64 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001569/1.214, allocations: 240 kB / 1.071 GB, free: 22.41 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01521/1.229, allocations: 7.249 MB / 1.078 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002283/1.231, allocations: 1.156 MB / 1.079 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00574/1.237, allocations: 2.506 MB / 1.082 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0181/1.255, allocations: 9.761 MB / 1.091 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.255, allocations: 4 kB / 1.091 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.192e-06/1.255, allocations: 0 / 1.091 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002684/1.255, allocations: 0 / 1.091 GB, free: 3.668 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.01618/1.271, allocations: 5.93 MB / 1.097 GB, free: 13.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.272, allocations: 8.031 kB / 1.097 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03203/1.304, allocations: 4.295 MB / 1.101 GB, free: 9.402 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009569/1.313, allocations: 3.591 MB / 1.105 GB, free: 5.914 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001706/1.315, allocations: 0.523 MB / 1.105 GB, free: 5.387 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00174/1.317, allocations: 354.3 kB / 1.106 GB, free: 5.043 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/1.335, allocations: 5.715 MB / 1.111 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.571e-05/1.335, allocations: 5.125 kB / 1.111 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008236/1.336, allocations: 134.1 kB / 1.111 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/1.336, allocations: 138.5 kB / 1.111 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02239/1.358, allocations: 6.843 MB / 1.118 GB, free: 8.152 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.04356/1.402, allocations: 22.21 MB / 1.14 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01155/1.414, allocations: 4.057 MB / 1.144 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006776/1.42, allocations: 2.262 MB / 1.146 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01419/1.435, allocations: 8.179 MB / 1.154 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007279/1.442, allocations: 2.394 MB / 1.156 GB, free: 160 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=230): time 5.009e-06/1.442, allocations: 0 / 1.156 GB, free: 160 kB / 0.7448 GB Notification: Performance of matching and sorting (n=230): time 0.03419/1.476, allocations: 8.437 MB / 1.164 GB, free: 7.602 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/1.476, allocations: 73.41 kB / 1.165 GB, free: 7.52 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008408/1.485, allocations: 4.282 MB / 1.169 GB, free: 3.219 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0007778/1.485, allocations: 77.7 kB / 1.169 GB, free: 3.137 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0017/1.487, allocations: 1.821 MB / 1.171 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001085/1.488, allocations: 0.7919 MB / 1.171 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001723/1.49, allocations: 0.8118 MB / 1.172 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.872e-05/1.49, allocations: 305.1 kB / 1.172 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00922/1.499, allocations: 2.741 MB / 1.175 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009771/1.509, allocations: 3.416 MB / 1.178 GB, free: 9.023 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.01882/1.528, allocations: 5.96 MB / 1.184 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.038e-05/1.528, allocations: 4 kB / 1.184 GB, free: 2.883 MB / 0.7761 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02782/1.556, allocations: 7.599 MB / 1.192 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/1.556, allocations: 8.812 kB / 1.192 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-05/1.556, allocations: 20 kB / 1.192 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004126/1.56, allocations: 0.9684 MB / 1.193 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009136/1.569, allocations: 1.412 MB / 1.194 GB, free: 8.938 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/1.585, allocations: 13.72 MB / 1.207 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01113/1.596, allocations: 1.296 MB / 1.209 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009528/1.597, allocations: 179.9 kB / 1.209 GB, free: 8.773 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.002442/1.6, allocations: 0.859 MB / 1.21 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/1.601, allocations: 414.8 kB / 1.21 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02115/1.622, allocations: 5.793 MB / 1.216 GB, free: 1.723 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.914e-05/1.622, allocations: 32.02 kB / 1.216 GB, free: 1.691 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.622, allocations: 0 / 1.216 GB, free: 1.691 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.85e-05/1.622, allocations: 11.95 kB / 1.216 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02948/1.652, allocations: 10.93 MB / 1.227 GB, free: 6.695 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/1.652, allocations: 4 kB / 1.227 GB, free: 6.691 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004909/1.657, allocations: 0.6606 MB / 1.227 GB, free: 6.051 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003566/1.66, allocations: 0.7927 MB / 1.228 GB, free: 5.238 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004648/1.661, allocations: 83.91 kB / 1.228 GB, free: 5.156 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/1.674, allocations: 10.96 MB / 1.239 GB, free: 9.367 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.674, allocations: 11.88 kB / 1.239 GB, free: 9.355 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.08052/1.755, allocations: 16.69 MB / 1.255 GB, free: 8.523 MB / 0.8542 GB Error: post-optimization module symbolicJacobian (simulation) failed.