Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 292.3 MB / 308.1 MB, free: 4.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 188.5 kB / 376.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205 MB / 0.6354 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009147/0.0009146, allocations: 107 kB / 0.748 GB, free: 61.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 63.89 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2414, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.5908/0.8322, allocations: 208.8 MB / 1.186 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01964/0.8519, allocations: 13.79 MB / 1.2 GB, free: 5.523 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002928/0.8549, allocations: 59.69 kB / 1.2 GB, free: 5.496 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.003067/0.858, allocations: 0.7202 MB / 1.2 GB, free: 5.07 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.006067/0.8641, allocations: 2.226 MB / 1.203 GB, free: 3.809 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00803/0.8721, allocations: 3.077 MB / 1.206 GB, free: 2.309 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.00647/0.8786, allocations: 4.626 MB / 1.21 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002169/0.8808, allocations: 1.158 MB / 1.211 GB, free: 20 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00456/0.8854, allocations: 1.753 MB / 1.213 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/0.8884, allocations: 1.145 MB / 1.214 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0006123/0.8891, allocations: 78 kB / 1.214 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007018/0.8961, allocations: 3.312 MB / 1.217 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.8973, allocations: 401.1 kB / 1.218 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002727/0.9, allocations: 0.8374 MB / 1.219 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.009041/0.9091, allocations: 3.464 MB / 1.222 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.9091, allocations: 5.375 kB / 1.222 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9092, allocations: 3.938 kB / 1.222 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001245/0.9093, allocations: 0 / 1.222 GB, free: 11.73 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.008664/0.918, allocations: 2.395 MB / 1.224 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.918, allocations: 13.19 kB / 1.224 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003618/0.9217, allocations: 0.5367 MB / 1.225 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003992/0.9257, allocations: 1.262 MB / 1.226 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007729/0.9265, allocations: 202.8 kB / 1.226 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005566/0.927, allocations: 118 kB / 1.226 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00422/0.9313, allocations: 1.35 MB / 1.228 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.9313, allocations: 4 kB / 1.228 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.9315, allocations: 41.28 kB / 1.228 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.689e-05/0.9316, allocations: 41.92 kB / 1.228 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004012/0.9356, allocations: 1.347 MB / 1.229 GB, free: 8.211 MB / 0.8073 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.01326/0.9489, allocations: 5.301 MB / 1.234 GB, free: 4.828 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003664/0.9526, allocations: 1.131 MB / 1.235 GB, free: 4.395 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.9543, allocations: 0.5432 MB / 1.236 GB, free: 4.219 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/0.9555, allocations: 0.7527 MB / 1.237 GB, free: 3.449 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001842/0.9574, allocations: 0.6192 MB / 1.237 GB, free: 3.227 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=82): time 4.328e-06/0.9574, allocations: 0 / 1.237 GB, free: 3.227 MB / 0.8073 GB Notification: Performance of matching and sorting (n=82): time 0.005574/0.963, allocations: 1.609 MB / 1.239 GB, free: 2.688 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.546e-05/0.9631, allocations: 138.6 kB / 1.239 GB, free: 2.531 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003907/0.967, allocations: 1.35 MB / 1.24 GB, free: 2.004 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002966/0.9674, allocations: 49.61 kB / 1.24 GB, free: 1.957 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009144/0.9683, allocations: 0.6554 MB / 1.241 GB, free: 1.438 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004775/0.9688, allocations: 284.5 kB / 1.241 GB, free: 1.215 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009449/0.9697, allocations: 252.5 kB / 1.241 GB, free: 1.102 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.9699, allocations: 349.5 kB / 1.242 GB, free: 0.7773 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.9717, allocations: 0.5278 MB / 1.242 GB, free: 0.6055 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002026/0.9738, allocations: 0.8242 MB / 1.243 GB, free: 132 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/0.977, allocations: 1.217 MB / 1.244 GB, free: 15.53 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.977, allocations: 4.875 kB / 1.244 GB, free: 15.52 MB / 0.823 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004275/0.9813, allocations: 1.528 MB / 1.246 GB, free: 14.94 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.431e-05/0.9814, allocations: 36.92 kB / 1.246 GB, free: 14.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.9814, allocations: 6.125 kB / 1.246 GB, free: 14.91 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.642e-05/0.9814, allocations: 13.38 kB / 1.246 GB, free: 14.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.9832, allocations: 340.5 kB / 1.246 GB, free: 14.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000766/0.984, allocations: 1.196 MB / 1.247 GB, free: 13.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/0.9861, allocations: 225 kB / 1.248 GB, free: 13.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.9863, allocations: 59.78 kB / 1.248 GB, free: 13.58 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002233/0.9886, allocations: 0.778 MB / 1.248 GB, free: 13.24 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001736/0.9903, allocations: 0.8134 MB / 1.249 GB, free: 12.77 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003055/0.9934, allocations: 1.217 MB / 1.25 GB, free: 12.16 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.338e-06/0.9934, allocations: 3.547 kB / 1.25 GB, free: 12.16 MB / 0.823 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.004189/0.9976, allocations: 1.518 MB / 1.252 GB, free: 11.59 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.9977, allocations: 33.64 kB / 1.252 GB, free: 11.56 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/0.9977, allocations: 13.48 kB / 1.252 GB, free: 11.56 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.9977, allocations: 10.19 kB / 1.252 GB, free: 11.56 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.9991, allocations: 305.6 kB / 1.252 GB, free: 11.53 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.867e-05/0.9992, allocations: 14.64 kB / 1.252 GB, free: 11.53 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/1.001, allocations: 195.9 kB / 1.252 GB, free: 11.46 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/1.001, allocations: 52.89 kB / 1.252 GB, free: 11.45 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0004788/1.002, allocations: 256 kB / 1.253 GB, free: 11.22 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005864/1.003, allocations: 163.7 kB / 1.253 GB, free: 11.13 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003733/1.006, allocations: 1.343 MB / 1.254 GB, free: 10.63 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/1.006, allocations: 7.812 kB / 1.254 GB, free: 10.63 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.006, allocations: 0 / 1.254 GB, free: 10.63 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.006, allocations: 5.766 kB / 1.254 GB, free: 10.63 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006437/1.013, allocations: 2.858 MB / 1.257 GB, free: 9.113 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.013, allocations: 7.938 kB / 1.257 GB, free: 9.105 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/1.014, allocations: 227.1 kB / 1.257 GB, free: 8.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.601e-05/1.014, allocations: 11.94 kB / 1.257 GB, free: 8.918 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.679e-05/1.014, allocations: 28.59 kB / 1.257 GB, free: 8.895 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006486/1.015, allocations: 1.192 MB / 1.258 GB, free: 7.668 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.015, allocations: 8.812 kB / 1.258 GB, free: 7.66 MB / 0.823 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 Buildings.Fluid.Types.HeatExchangerFlowRegime.CounterFlow else Buildings.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.01848/1.033, allocations: 4.589 MB / 1.263 GB, free: 3.094 MB / 0.823 GB Error: post-optimization module symbolicJacobian (simulation) failed.