Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 292.3 MB / 308.1 MB, free: 4.328 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.001389/0.001389, allocations: 185.5 kB / 376.9 MB, free: 1.816 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.322/1.322, allocations: 205 MB / 0.6354 GB, free: 9.777 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.001071/0.001071, allocations: 95.03 kB / 0.748 GB, free: 61.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 51.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2145, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.4518/0.6663, allocations: 47.9 MB / 1.029 GB, free: 63.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01917/0.6855, allocations: 14.43 MB / 1.043 GB, free: 62.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003559/0.6891, allocations: 54.53 kB / 1.043 GB, free: 62.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003111/0.6923, allocations: 0.6223 MB / 1.044 GB, free: 62.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006873/0.6992, allocations: 1.718 MB / 1.045 GB, free: 62.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.009254/0.7085, allocations: 2.864 MB / 1.048 GB, free: 62.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006708/0.7152, allocations: 4.277 MB / 1.052 GB, free: 62.05 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002552/0.7178, allocations: 1.044 MB / 1.053 GB, free: 61.89 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003627/0.7214, allocations: 1.366 MB / 1.055 GB, free: 61.54 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.7236, allocations: 1.002 MB / 1.056 GB, free: 61.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004891/0.7241, allocations: 67.97 kB / 1.056 GB, free: 61.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005203/0.7294, allocations: 2.231 MB / 1.058 GB, free: 61.17 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000645/0.73, allocations: 297.5 kB / 1.058 GB, free: 61.1 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.7315, allocations: 0.7561 MB / 1.059 GB, free: 60.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.006514/0.738, allocations: 2.891 MB / 1.062 GB, free: 60 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.7381, allocations: 0 / 1.062 GB, free: 60 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7381, allocations: 3.062 kB / 1.062 GB, free: 60 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.852e-05/0.7382, allocations: 0 / 1.062 GB, free: 60 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.004527/0.7427, allocations: 2.14 MB / 1.064 GB, free: 58.62 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.7428, allocations: 10 kB / 1.064 GB, free: 58.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.7444, allocations: 388.1 kB / 1.064 GB, free: 58.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/0.7466, allocations: 1.166 MB / 1.065 GB, free: 57.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005959/0.7472, allocations: 192.9 kB / 1.066 GB, free: 57.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.7474, allocations: 103.2 kB / 1.066 GB, free: 57.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.7495, allocations: 1.124 MB / 1.067 GB, free: 57.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.7495, allocations: 3.938 kB / 1.067 GB, free: 57.26 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.23e-05/0.7496, allocations: 33.59 kB / 1.067 GB, free: 57.24 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.7496, allocations: 22.06 kB / 1.067 GB, free: 57.24 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.7521, allocations: 1.031 MB / 1.068 GB, free: 56.9 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.007912/0.76, allocations: 4.718 MB / 1.072 GB, free: 53.81 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.7623, allocations: 0.8675 MB / 1.073 GB, free: 53.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.7634, allocations: 459.5 kB / 1.074 GB, free: 53.36 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.7644, allocations: 1.061 MB / 1.075 GB, free: 52.22 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/0.7657, allocations: 0.5223 MB / 1.075 GB, free: 52.04 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=73): time 3.396e-06/0.7657, allocations: 0 / 1.075 GB, free: 52.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73): time 0.00371/0.7694, allocations: 1.351 MB / 1.077 GB, free: 51.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.7695, allocations: 139.1 kB / 1.077 GB, free: 51.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.7709, allocations: 1.189 MB / 1.078 GB, free: 50.94 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.7711, allocations: 43.58 kB / 1.078 GB, free: 50.9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000395/0.7715, allocations: 0.6013 MB / 1.079 GB, free: 50.42 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.7716, allocations: 251.5 kB / 1.079 GB, free: 50.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.772, allocations: 229.4 kB / 1.079 GB, free: 50.13 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.763e-05/0.772, allocations: 345.1 kB / 1.079 GB, free: 49.81 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.7732, allocations: 455.9 kB / 1.08 GB, free: 49.67 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.7745, allocations: 0.7031 MB / 1.08 GB, free: 49.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002242/0.7768, allocations: 1.039 MB / 1.081 GB, free: 48.74 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.7768, allocations: 0 / 1.081 GB, free: 48.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003167/0.78, allocations: 1.334 MB / 1.083 GB, free: 48.24 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.78, allocations: 31.8 kB / 1.083 GB, free: 48.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.78, allocations: 5.719 kB / 1.083 GB, free: 48.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.7801, allocations: 9.5 kB / 1.083 GB, free: 48.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.7815, allocations: 306.6 kB / 1.083 GB, free: 48.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005171/0.782, allocations: 1.195 MB / 1.084 GB, free: 46.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.7835, allocations: 195.9 kB / 1.084 GB, free: 46.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.7836, allocations: 48.89 kB / 1.085 GB, free: 46.9 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001435/0.785, allocations: 0.6631 MB / 1.085 GB, free: 46.6 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001262/0.7863, allocations: 0.6919 MB / 1.086 GB, free: 46.2 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002133/0.7884, allocations: 1.023 MB / 1.087 GB, free: 45.69 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.978e-06/0.7885, allocations: 0 / 1.087 GB, free: 45.69 MB / 0.7448 GB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.003108/0.7916, allocations: 1.328 MB / 1.088 GB, free: 45.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.7916, allocations: 32.17 kB / 1.088 GB, free: 45.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.7916, allocations: 5.969 kB / 1.088 GB, free: 45.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.7917, allocations: 13.09 kB / 1.088 GB, free: 45.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.7928, allocations: 272.1 kB / 1.088 GB, free: 45.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.7928, allocations: 20.55 kB / 1.088 GB, free: 45.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.7943, allocations: 167.9 kB / 1.089 GB, free: 45.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.484e-05/0.7944, allocations: 53.81 kB / 1.089 GB, free: 45.06 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (122): * Single equations (assignments): 117 * 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.0003062/0.7947, allocations: 236.9 kB / 1.089 GB, free: 44.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.7949, allocations: 142.1 kB / 1.089 GB, free: 44.76 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/0.7979, allocations: 1.289 MB / 1.09 GB, free: 44.29 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.7979, allocations: 17.06 kB / 1.09 GB, free: 44.28 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.7979, allocations: 0.75 kB / 1.09 GB, free: 44.28 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.7979, allocations: 3.281 kB / 1.09 GB, free: 44.28 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004265/0.8022, allocations: 2.514 MB / 1.093 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.8022, allocations: 3.344 kB / 1.093 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000966/0.8032, allocations: 207.5 kB / 1.093 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.8032, allocations: 7.562 kB / 1.093 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.456e-05/0.8033, allocations: 29.28 kB / 1.093 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003801/0.8037, allocations: 1.19 MB / 1.094 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8037, allocations: 3.281 kB / 1.094 GB, free: 41.9 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 "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.01663/0.8203, allocations: 4.412 MB / 1.098 GB, free: 40.18 MB / 0.7448 GB Error: post-optimization module symbolicJacobian (simulation) failed.