Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001384/0.001384, 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.4661/0.4662, allocations: 87.5 MB / 104.9 MB, free: 13.01 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.361/1.361, allocations: 222.9 MB / 349.1 MB, free: 2.75 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.0009827/0.0009827, allocations: 105.5 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 51.92 kB / 0.4891 GB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3383, allocations: 70.06 MB / 0.5575 GB, free: 44.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.606/0.9443, allocations: 367.2 MB / 0.9161 GB, free: 6.176 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.04502/0.9893, allocations: 33.61 MB / 0.9489 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005928/0.9953, allocations: 143.1 kB / 0.949 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.005939/1.001, allocations: 1.939 MB / 0.9509 GB, free: 2.398 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01847/1.02, allocations: 6.941 MB / 0.9577 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0114/1.031, allocations: 4.107 MB / 0.9617 GB, free: 7.355 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.3909/1.422, allocations: 13.68 MB / 0.975 GB, free: 32.57 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005881/1.428, allocations: 3.279 MB / 0.9783 GB, free: 32.27 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01751/1.446, allocations: 4.779 MB / 0.9829 GB, free: 32.23 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007676/1.453, allocations: 3.352 MB / 0.9862 GB, free: 31.97 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001432/1.455, allocations: 241.9 kB / 0.9864 GB, free: 31.97 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01418/1.469, allocations: 7.26 MB / 0.9935 GB, free: 31.96 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002545/1.472, allocations: 1.157 MB / 0.9946 GB, free: 31.78 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.004709/1.476, allocations: 2.51 MB / 0.9971 GB, free: 31.05 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01567/1.492, allocations: 9.769 MB / 1.007 GB, free: 30.23 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/1.492, allocations: 0 / 1.007 GB, free: 30.23 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.475e-06/1.492, allocations: 4 kB / 1.007 GB, free: 30.23 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002131/1.492, allocations: 0 / 1.007 GB, free: 30.23 MB / 0.6667 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.01462/1.507, allocations: 5.931 MB / 1.012 GB, free: 27.68 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/1.507, allocations: 11.59 kB / 1.012 GB, free: 27.68 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02949/1.536, allocations: 4.282 MB / 1.017 GB, free: 27.24 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008522/1.545, allocations: 3.598 MB / 1.02 GB, free: 26.49 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001393/1.546, allocations: 0.5202 MB / 1.021 GB, free: 26.43 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/1.548, allocations: 349.7 kB / 1.021 GB, free: 26.43 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/1.562, allocations: 5.715 MB / 1.027 GB, free: 26.06 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.737e-05/1.562, allocations: 5.438 kB / 1.027 GB, free: 26.06 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004444/1.563, allocations: 133.6 kB / 1.027 GB, free: 26.06 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.766e-05/1.563, allocations: 133.2 kB / 1.027 GB, free: 26.05 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0202/1.583, allocations: 6.843 MB / 1.034 GB, free: 25.89 MB / 0.6667 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.03849/1.621, allocations: 22.21 MB / 1.055 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/1.632, allocations: 4.064 MB / 1.059 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006679/1.639, allocations: 2.27 MB / 1.061 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01469/1.654, allocations: 8.179 MB / 1.069 GB, free: 7.41 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007337/1.661, allocations: 2.396 MB / 1.072 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=230): time 6.062e-06/1.661, allocations: 0 / 1.072 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of matching and sorting (n=230): time 0.0334/1.694, allocations: 8.443 MB / 1.08 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/1.694, allocations: 77.97 kB / 1.08 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/1.705, allocations: 4.277 MB / 1.084 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009962/1.706, allocations: 81.41 kB / 1.084 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0023/1.708, allocations: 1.817 MB / 1.086 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001528/1.71, allocations: 0.798 MB / 1.087 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004181/1.714, allocations: 0.8103 MB / 1.088 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001007/1.714, allocations: 301.1 kB / 1.088 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01061/1.725, allocations: 2.739 MB / 1.091 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01134/1.736, allocations: 3.428 MB / 1.094 GB, free: 1.883 MB / 0.6823 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.02153/1.758, allocations: 5.951 MB / 1.1 GB, free: 11.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.187e-05/1.758, allocations: 4 kB / 1.1 GB, free: 11.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03319/1.791, allocations: 7.591 MB / 1.107 GB, free: 4.203 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.168e-05/1.791, allocations: 8.5 kB / 1.107 GB, free: 4.195 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.831e-05/1.791, allocations: 16 kB / 1.107 GB, free: 4.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00432/1.796, allocations: 0.977 MB / 1.108 GB, free: 3.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009975/1.806, allocations: 1.41 MB / 1.11 GB, free: 1.816 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.018/1.824, allocations: 13.72 MB / 1.123 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01176/1.835, allocations: 1.294 MB / 1.124 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00131/1.837, allocations: 186.3 kB / 1.124 GB, free: 1.66 MB / 0.7136 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.003467/1.84, allocations: 0.8598 MB / 1.125 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001912/1.842, allocations: 418.8 kB / 1.126 GB, free: 432 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02344/1.866, allocations: 5.798 MB / 1.131 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.753e-05/1.866, allocations: 24 kB / 1.131 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.866, allocations: 0 / 1.131 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.023e-05/1.866, allocations: 12 kB / 1.131 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0312/1.897, allocations: 10.92 MB / 1.142 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/1.897, allocations: 8.094 kB / 1.142 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004788/1.902, allocations: 0.6599 MB / 1.143 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003607/1.905, allocations: 0.79 MB / 1.143 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006636/1.906, allocations: 83.91 kB / 1.143 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01423/1.92, allocations: 10.95 MB / 1.154 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.92, allocations: 8.062 kB / 1.154 GB, free: 2.297 MB / 0.7448 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 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.0823/2.003, allocations: 16.71 MB / 1.17 GB, free: 1.461 MB / 0.7605 GB Error: post-optimization module symbolicJacobian (simulation) failed.