Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4475/0.4475, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 105 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 51.92 kB / 0.4891 GB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2823, allocations: 70.06 MB / 0.5575 GB, free: 44.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow): time 0.5079/0.7902, allocations: 248.5 MB / 0.8001 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.02752/0.8178, allocations: 19.52 MB / 0.8192 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004634/0.8225, allocations: 65.5 kB / 0.8192 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.003604/0.8262, allocations: 0.9717 MB / 0.8202 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.01214/0.8383, allocations: 3.717 MB / 0.8238 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.007296/0.8456, allocations: 2.145 MB / 0.8259 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.009222/0.8549, allocations: 6.557 MB / 0.8323 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003179/0.8581, allocations: 1.587 MB / 0.8339 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007077/0.8652, allocations: 2.085 MB / 0.8359 GB, free: 8.527 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003533/0.8688, allocations: 1.653 MB / 0.8375 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.000833/0.8696, allocations: 119.9 kB / 0.8376 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009904/0.8795, allocations: 4.65 MB / 0.8422 GB, free: 2.184 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.8806, allocations: 0.5796 MB / 0.8427 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.002705/0.8833, allocations: 1.24 MB / 0.844 GB, free: 364 kB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.009968/0.8933, allocations: 5.372 MB / 0.8492 GB, free: 10.97 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.8934, allocations: 0 / 0.8492 GB, free: 10.97 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.012e-06/0.8934, allocations: 0 / 0.8492 GB, free: 10.97 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001372/0.8935, allocations: 0 / 0.8492 GB, free: 10.97 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.008938/0.9025, allocations: 3.295 MB / 0.8524 GB, free: 7.586 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.9025, allocations: 8.031 kB / 0.8524 GB, free: 7.578 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01542/0.918, allocations: 2.131 MB / 0.8545 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005377/0.9234, allocations: 1.878 MB / 0.8563 GB, free: 3.512 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007994/0.9242, allocations: 251.5 kB / 0.8566 GB, free: 3.266 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008479/0.9251, allocations: 176 kB / 0.8567 GB, free: 3.094 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009147/0.9343, allocations: 2.868 MB / 0.8596 GB, free: 188 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.112e-05/0.9344, allocations: 3.938 kB / 0.8596 GB, free: 184 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003262/0.9347, allocations: 67.98 kB / 0.8596 GB, free: 116 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.34e-05/0.9348, allocations: 71.19 kB / 0.8597 GB, free: 44 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/0.9458, allocations: 3.42 MB / 0.863 GB, free: 12.62 MB / 0.573 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.01667/0.9625, allocations: 9.097 MB / 0.8719 GB, free: 3.074 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007725/0.9703, allocations: 2.512 MB / 0.8744 GB, free: 0.5547 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00465/0.975, allocations: 1.52 MB / 0.8758 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009338/0.9844, allocations: 5.249 MB / 0.881 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005075/0.9895, allocations: 1.721 MB / 0.8827 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=150): time 4.539e-06/0.9895, allocations: 0 / 0.8827 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of matching and sorting (n=150): time 0.01928/1.009, allocations: 5.117 MB / 0.8877 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.169e-05/1.009, allocations: 149.8 kB / 0.8878 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002612/1.012, allocations: 1.649 MB / 0.8894 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.000436/1.012, allocations: 65.69 kB / 0.8895 GB, free: 0.6289 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007255/1.013, allocations: 0.827 MB / 0.8903 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006544/1.013, allocations: 0.4968 MB / 0.8908 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008133/1.014, allocations: 423.1 kB / 0.8912 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.984e-05/1.014, allocations: 305.1 kB / 0.8915 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004624/1.019, allocations: 1.445 MB / 0.8929 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005049/1.024, allocations: 1.779 MB / 0.8946 GB, free: 11.22 MB / 0.6042 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.01203/1.036, allocations: 3.679 MB / 0.8982 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-05/1.036, allocations: 0 / 0.8982 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01491/1.051, allocations: 3.984 MB / 0.9021 GB, free: 3.406 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1.051, allocations: 71.39 kB / 0.9022 GB, free: 3.324 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/1.051, allocations: 8 kB / 0.9022 GB, free: 3.316 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/1.053, allocations: 355.3 kB / 0.9025 GB, free: 2.957 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004921/1.058, allocations: 0.7294 MB / 0.9032 GB, free: 2.227 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007004/1.065, allocations: 5.963 MB / 0.909 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004974/1.07, allocations: 496.6 kB / 0.9095 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007035/1.07, allocations: 103.9 kB / 0.9096 GB, free: 11.22 MB / 0.6198 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: hex.UAFroRated.TAirIn = 293.15 hex.UAFroRated.TWatIn = 293.15. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006745/1.077, allocations: 1.831 MB / 0.9114 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006302/1.084, allocations: 1.764 MB / 0.9131 GB, free: 7.512 MB / 0.6198 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.01237/1.096, allocations: 3.671 MB / 0.9167 GB, free: 3.719 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.919e-05/1.096, allocations: 0 / 0.9167 GB, free: 3.719 MB / 0.6198 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.01503/1.111, allocations: 3.984 MB / 0.9206 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.115e-05/1.111, allocations: 75.38 kB / 0.9207 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/1.111, allocations: 8 kB / 0.9207 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/1.113, allocations: 343.3 kB / 0.921 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004947/1.118, allocations: 0.7295 MB / 0.9217 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007096/1.125, allocations: 5.951 MB / 0.9275 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004825/1.13, allocations: 458.5 kB / 0.928 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005865/1.13, allocations: 99.91 kB / 0.9281 GB, free: 7.578 MB / 0.6355 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: hex.UAFroRated.TAirIn = 293.15 hex.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 18 (hex.UAFroRated.isFulWet,hex.UAFroRated.isFulDry,hex.flowRegime_nominal,hex.flowRegime,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 203 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,1), (1,3), (1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000965/1.131, allocations: 356.2 kB / 0.9284 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008711/1.132, allocations: 205.5 kB / 0.9286 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01419/1.146, allocations: 3.805 MB / 0.9323 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/1.146, allocations: 12 kB / 0.9323 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.146, allocations: 3.938 kB / 0.9323 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.028e-05/1.146, allocations: 11.97 kB / 0.9323 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0188/1.165, allocations: 6.602 MB / 0.9388 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/1.165, allocations: 11.94 kB / 0.9388 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003032/1.168, allocations: 471.8 kB / 0.9392 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001251/1.169, allocations: 298.3 kB / 0.9395 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002727/1.17, allocations: 55.94 kB / 0.9396 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005194/1.175, allocations: 3.966 MB / 0.9435 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/1.175, allocations: 7.938 kB / 0.9435 GB, free: 7.312 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "hex.flowRegime = if hex.C1_flow * hex.C2_flow >= 0.0 then IBPSA.Fluid.Types.HeatExchangerFlowRegime.CounterFlow else IBPSA.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.06155/1.237, allocations: 12.55 MB / 0.9557 GB, free: 10.59 MB / 0.6667 GB Error: post-optimization module symbolicJacobian (simulation) failed.