Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.171/2.171, allocations: 391.2 MB / 407 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 200.6 kB / 499.1 MB, free: 4.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 0.7948 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 102.6 kB / 0.9329 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 53 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2928, allocations: 140.6 MB / 1.218 GB, free: 117.1 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.03241/0.3252, allocations: 47.92 MB / 1.265 GB, free: 69.05 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01359/0.3389, allocations: 12.07 MB / 1.277 GB, free: 56.96 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002488/0.3414, allocations: 55.62 kB / 1.277 GB, free: 56.9 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002326/0.3438, allocations: 0.5826 MB / 1.277 GB, free: 56.32 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00532/0.3491, allocations: 1.82 MB / 1.279 GB, free: 54.49 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004519/0.3537, allocations: 1.821 MB / 1.281 GB, free: 52.69 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004972/0.3587, allocations: 4.284 MB / 1.285 GB, free: 48.39 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.3606, allocations: 1.051 MB / 1.286 GB, free: 47.31 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003112/0.3637, allocations: 1.369 MB / 1.287 GB, free: 45.94 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.3655, allocations: 1.015 MB / 1.288 GB, free: 44.92 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002348/0.3657, allocations: 68 kB / 1.288 GB, free: 44.85 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004223/0.37, allocations: 2.167 MB / 1.291 GB, free: 42.68 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003838/0.3704, allocations: 298.5 kB / 1.291 GB, free: 42.39 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.3715, allocations: 0.7613 MB / 1.292 GB, free: 41.62 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.00421/0.3757, allocations: 2.82 MB / 1.294 GB, free: 38.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3757, allocations: 0 / 1.294 GB, free: 38.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3757, allocations: 0 / 1.294 GB, free: 38.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.615e-05/0.3758, allocations: 0 / 1.294 GB, free: 38.8 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003395/0.3792, allocations: 2.134 MB / 1.296 GB, free: 36.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3792, allocations: 11.98 kB / 1.296 GB, free: 36.59 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.3808, allocations: 389.5 kB / 1.297 GB, free: 36.21 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/0.3835, allocations: 1.354 MB / 1.298 GB, free: 34.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006119/0.3841, allocations: 197.9 kB / 1.298 GB, free: 34.61 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.3843, allocations: 100 kB / 1.298 GB, free: 34.51 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.3864, allocations: 1.088 MB / 1.299 GB, free: 33.38 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.3864, allocations: 7.875 kB / 1.299 GB, free: 33.38 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.077e-05/0.3865, allocations: 39.94 kB / 1.3 GB, free: 33.34 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-05/0.3866, allocations: 30 kB / 1.3 GB, free: 33.31 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.3889, allocations: 1.034 MB / 1.301 GB, free: 32.27 MB / 0.823 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.00674/0.3957, allocations: 4.718 MB / 1.305 GB, free: 27.28 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/0.3977, allocations: 0.8177 MB / 1.306 GB, free: 26.46 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009841/0.3987, allocations: 454.6 kB / 1.306 GB, free: 26.01 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/0.4003, allocations: 1.053 MB / 1.307 GB, free: 24.74 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002062/0.4024, allocations: 0.5274 MB / 1.308 GB, free: 24.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=73): time 6.702e-06/0.4025, allocations: 0 / 1.308 GB, free: 24.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=73): time 0.005412/0.4079, allocations: 1.343 MB / 1.309 GB, free: 22.85 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.408, allocations: 67.98 kB / 1.309 GB, free: 22.77 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/0.4105, allocations: 1.19 MB / 1.31 GB, free: 21.57 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001804/0.4107, allocations: 45.7 kB / 1.311 GB, free: 21.52 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006445/0.4114, allocations: 0.5797 MB / 1.311 GB, free: 20.93 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003024/0.4117, allocations: 256.3 kB / 1.311 GB, free: 20.68 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005255/0.4123, allocations: 226.4 kB / 1.312 GB, free: 20.45 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.4124, allocations: 341.9 kB / 1.312 GB, free: 20.11 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.4139, allocations: 440.6 kB / 1.312 GB, free: 19.68 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.4156, allocations: 0.6611 MB / 1.313 GB, free: 18.93 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/0.4185, allocations: 1.008 MB / 1.314 GB, free: 17.86 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.4186, allocations: 0 / 1.314 GB, free: 17.86 MB / 0.823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004056/0.4226, allocations: 1.298 MB / 1.315 GB, free: 16.55 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.4227, allocations: 34.95 kB / 1.315 GB, free: 16.51 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.4227, allocations: 4 kB / 1.315 GB, free: 16.51 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.926e-05/0.4228, allocations: 8.219 kB / 1.315 GB, free: 16.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/0.4247, allocations: 315.6 kB / 1.316 GB, free: 16.19 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006473/0.4254, allocations: 1.192 MB / 1.317 GB, free: 14.95 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.4274, allocations: 186.9 kB / 1.317 GB, free: 14.77 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/0.4276, allocations: 51.97 kB / 1.317 GB, free: 14.72 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001921/0.4295, allocations: 0.6385 MB / 1.318 GB, free: 14.07 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001646/0.4312, allocations: 0.6539 MB / 1.318 GB, free: 13.34 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002814/0.434, allocations: 1.001 MB / 1.319 GB, free: 12.28 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.671e-06/0.434, allocations: 3.938 kB / 1.319 GB, free: 12.27 MB / 0.823 GB Notification: Performance of matching and sorting (n=121) (initialization_lambda0): time 0.003967/0.438, allocations: 1.282 MB / 1.32 GB, free: 10.98 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.438, allocations: 33.7 kB / 1.32 GB, free: 10.94 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.4381, allocations: 4 kB / 1.32 GB, free: 10.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4381, allocations: 8 kB / 1.32 GB, free: 10.93 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.4396, allocations: 283.8 kB / 1.321 GB, free: 10.65 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.548e-05/0.4396, allocations: 11.98 kB / 1.321 GB, free: 10.64 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.4415, allocations: 163.2 kB / 1.321 GB, free: 10.48 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.4417, allocations: 55.89 kB / 1.321 GB, free: 10.42 MB / 0.823 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 (120): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0004057/0.4421, allocations: 240 kB / 1.321 GB, free: 10.18 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000507/0.4426, allocations: 138.2 kB / 1.321 GB, free: 10.04 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/0.4466, allocations: 1.279 MB / 1.323 GB, free: 8.77 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.4466, allocations: 27.92 kB / 1.323 GB, free: 8.742 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.4466, allocations: 0 / 1.323 GB, free: 8.742 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.4466, allocations: 3.984 kB / 1.323 GB, free: 8.738 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005928/0.4526, allocations: 2.521 MB / 1.325 GB, free: 6.129 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.4526, allocations: 0 / 1.325 GB, free: 6.129 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.4539, allocations: 216 kB / 1.325 GB, free: 5.918 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.802e-05/0.4539, allocations: 4 kB / 1.325 GB, free: 5.914 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.276e-05/0.454, allocations: 31.97 kB / 1.325 GB, free: 5.883 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004684/0.4545, allocations: 1.184 MB / 1.326 GB, free: 4.652 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.4545, allocations: 4.031 kB / 1.326 GB, free: 4.648 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.02151/0.476, allocations: 4.393 MB / 1.331 GB, free: 144 kB / 0.823 GB Error: post-optimization module symbolicJacobian (simulation) failed.