Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8829/0.8829, allocations: 143.4 MB / 159.2 MB, free: 4.875 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 192.5 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 447.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009918/0.0009918, allocations: 119.2 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001849/0.001849, allocations: 269 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 83.88 kB / 0.6885 GB, free: 3.859 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3522, allocations: 81.3 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.656/1.008, allocations: 367.1 MB / 1.126 GB, free: 13.5 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.04525/1.054, allocations: 33.56 MB / 1.159 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006216/1.06, allocations: 135.1 kB / 1.159 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.006284/1.066, allocations: 1.943 MB / 1.161 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01833/1.085, allocations: 6.922 MB / 1.168 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01127/1.096, allocations: 4.136 MB / 1.172 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01724/1.113, allocations: 13.68 MB / 1.185 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4115/1.525, allocations: 3.269 MB / 1.189 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01657/1.541, allocations: 4.774 MB / 1.193 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007888/1.549, allocations: 3.353 MB / 1.197 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001702/1.551, allocations: 246.5 kB / 1.197 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01461/1.565, allocations: 7.251 MB / 1.204 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.002806/1.568, allocations: 1.155 MB / 1.205 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.00644/1.575, allocations: 2.518 MB / 1.207 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01939/1.594, allocations: 9.78 MB / 1.217 GB, free: 36.99 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/1.594, allocations: 0 / 1.217 GB, free: 36.99 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.803e-06/1.594, allocations: 0 / 1.217 GB, free: 36.99 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002295/1.594, allocations: 0 / 1.217 GB, free: 36.99 MB / 0.7448 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.01646/1.611, allocations: 5.947 MB / 1.223 GB, free: 34.43 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/1.611, allocations: 8.469 kB / 1.223 GB, free: 34.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02924/1.64, allocations: 4.293 MB / 1.227 GB, free: 33.99 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008481/1.649, allocations: 3.585 MB / 1.231 GB, free: 33.24 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001708/1.651, allocations: 0.5171 MB / 1.231 GB, free: 33.18 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002105/1.653, allocations: 356.5 kB / 1.231 GB, free: 33.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01562/1.668, allocations: 5.713 MB / 1.237 GB, free: 32.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.774e-05/1.668, allocations: 4.625 kB / 1.237 GB, free: 32.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004694/1.669, allocations: 137 kB / 1.237 GB, free: 32.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-05/1.669, allocations: 138.3 kB / 1.237 GB, free: 32.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02274/1.692, allocations: 6.841 MB / 1.244 GB, free: 32.65 MB / 0.7448 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.0572/1.749, allocations: 22.23 MB / 1.266 GB, free: 22.89 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01652/1.765, allocations: 4.053 MB / 1.27 GB, free: 22.18 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0102/1.776, allocations: 2.268 MB / 1.272 GB, free: 21.78 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02251/1.798, allocations: 8.184 MB / 1.28 GB, free: 17.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01025/1.809, allocations: 2.402 MB / 1.282 GB, free: 16.96 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=230): time 1.015e-05/1.809, allocations: 3.406 kB / 1.282 GB, free: 16.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=230): time 0.04494/1.854, allocations: 8.432 MB / 1.29 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/1.854, allocations: 81.41 kB / 1.29 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009604/1.863, allocations: 4.278 MB / 1.295 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.00104/1.864, allocations: 83.75 kB / 1.295 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001921/1.866, allocations: 1.825 MB / 1.296 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001372/1.868, allocations: 0.8019 MB / 1.297 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003349/1.871, allocations: 0.8104 MB / 1.298 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.144e-05/1.871, allocations: 301.1 kB / 1.298 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009229/1.88, allocations: 2.734 MB / 1.301 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/1.891, allocations: 3.427 MB / 1.304 GB, free: 4.203 MB / 0.7448 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.01893/1.91, allocations: 5.971 MB / 1.31 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.893e-05/1.91, allocations: 11.94 kB / 1.31 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03173/1.942, allocations: 7.579 MB / 1.318 GB, free: 6.598 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.719e-05/1.942, allocations: 12 kB / 1.318 GB, free: 6.586 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.341e-05/1.942, allocations: 16 kB / 1.318 GB, free: 6.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004365/1.946, allocations: 0.983 MB / 1.319 GB, free: 5.566 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009597/1.956, allocations: 1.409 MB / 1.32 GB, free: 4.203 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01721/1.973, allocations: 13.72 MB / 1.333 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0116/1.985, allocations: 1.293 MB / 1.335 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001367/1.986, allocations: 183.8 kB / 1.335 GB, free: 4.047 MB / 0.7761 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.003955/1.99, allocations: 0.867 MB / 1.336 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002516/1.993, allocations: 418.8 kB / 1.336 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02623/2.019, allocations: 5.803 MB / 1.342 GB, free: 13 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-05/2.019, allocations: 20 kB / 1.342 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/2.019, allocations: 11.98 kB / 1.342 GB, free: 12.97 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.52e-05/2.019, allocations: 7.969 kB / 1.342 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03403/2.053, allocations: 10.91 MB / 1.352 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/2.053, allocations: 0 / 1.352 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004953/2.058, allocations: 0.6746 MB / 1.353 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003731/2.062, allocations: 0.7828 MB / 1.354 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008634/2.063, allocations: 83.91 kB / 1.354 GB, free: 480 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/2.077, allocations: 10.96 MB / 1.365 GB, free: 4.684 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/2.077, allocations: 4 kB / 1.365 GB, free: 4.68 MB / 0.8073 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 BuildingSystems.Fluid.Types.HeatExchangerFlowRegime.CounterFlow else BuildingSystems.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.08366/2.16, allocations: 16.72 MB / 1.381 GB, free: 3.828 MB / 0.823 GB Error: post-optimization module symbolicJacobian (simulation) failed.