Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.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.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger") translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.537/1.537, allocations: 292.3 MB / 308.1 MB, free: 4.27 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.001277/0.001278, allocations: 192.4 kB / 376.9 MB, free: 1.762 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.268/1.268, allocations: 205 MB / 0.6354 GB, free: 9.738 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.0008579/0.000858, allocations: 100.3 kB / 0.748 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000967/0.000967, allocations: 55.92 kB / 0.8704 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.228, allocations: 114.5 MB / 0.9823 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger): time 0.6702/0.8982, allocations: 363.8 MB / 1.338 GB, free: 7.543 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.6067/1.505, allocations: 83.51 MB / 1.419 GB, free: 30.09 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01901/1.524, allocations: 428.8 kB / 1.419 GB, free: 30.09 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.01281/1.537, allocations: 3.915 MB / 1.423 GB, free: 30.04 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.02865/1.566, allocations: 10.53 MB / 1.434 GB, free: 29.59 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.02141/1.587, allocations: 9.615 MB / 1.443 GB, free: 29.28 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.03533/1.622, allocations: 30.69 MB / 1.473 GB, free: 29.21 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01757/1.64, allocations: 7.767 MB / 1.481 GB, free: 28.15 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02247/1.662, allocations: 9.013 MB / 1.489 GB, free: 27.27 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01429/1.677, allocations: 6.925 MB / 1.496 GB, free: 25.34 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.003541/1.68, allocations: 473.5 kB / 1.497 GB, free: 25.34 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01529/1.696, allocations: 5.362 MB / 1.502 GB, free: 24.09 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.003725/1.699, allocations: 2.118 MB / 1.504 GB, free: 23.17 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.01048/1.71, allocations: 4.991 MB / 1.509 GB, free: 21.21 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.02515/1.735, allocations: 18.52 MB / 1.527 GB, free: 8.176 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/1.735, allocations: 4 kB / 1.527 GB, free: 8.172 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.964e-06/1.735, allocations: 0 / 1.527 GB, free: 8.172 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004766/1.736, allocations: 0 / 1.527 GB, free: 8.172 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1427 * Number of variables: 1427 Notification: Performance of Generate backend data structure: time 0.02061/1.756, allocations: 10.96 MB / 1.537 GB, free: 13.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/1.756, allocations: 8.031 kB / 1.538 GB, free: 13.45 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006838/1.763, allocations: 1.853 MB / 1.539 GB, free: 11.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01467/1.778, allocations: 8.555 MB / 1.548 GB, free: 3.145 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002202/1.78, allocations: 0.8398 MB / 1.548 GB, free: 2.301 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000839/1.781, allocations: 0.5975 MB / 1.549 GB, free: 1.703 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/1.793, allocations: 6.746 MB / 1.556 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.501e-05/1.793, allocations: 7.938 kB / 1.556 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004701/1.793, allocations: 236 kB / 1.556 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.172e-05/1.793, allocations: 144 kB / 1.556 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/1.806, allocations: 5.996 MB / 1.562 GB, free: 4.445 MB / 0.9636 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.04112/1.847, allocations: 33.03 MB / 1.594 GB, free: 1.578 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008559/1.855, allocations: 4.206 MB / 1.598 GB, free: 13.36 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004377/1.86, allocations: 2.258 MB / 1.6 GB, free: 11.09 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01797/1.878, allocations: 12.31 MB / 1.612 GB, free: 13.82 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005602/1.883, allocations: 2.63 MB / 1.615 GB, free: 11.15 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003967/1.887, allocations: 0.8885 MB / 1.616 GB, free: 10.26 MB / 1.026 GB Notification: Performance of pre-optimization done (n=397): time 1.539e-05/1.887, allocations: 0 / 1.616 GB, free: 10.26 MB / 1.026 GB Notification: Performance of matching and sorting (n=397): time 0.01925/1.907, allocations: 7.288 MB / 1.623 GB, free: 2.895 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/1.907, allocations: 187.4 kB / 1.623 GB, free: 2.68 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01589/1.923, allocations: 7.191 MB / 1.63 GB, free: 11.53 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001029/1.924, allocations: 129.7 kB / 1.63 GB, free: 11.4 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.004259/1.928, allocations: 3.981 MB / 1.634 GB, free: 7.418 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001829/1.93, allocations: 1.296 MB / 1.636 GB, free: 6.133 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003261/1.933, allocations: 1.066 MB / 1.637 GB, free: 5.059 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.469e-05/1.933, allocations: 305.1 kB / 1.637 GB, free: 4.758 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005526/1.939, allocations: 2.214 MB / 1.639 GB, free: 2.527 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006541/1.945, allocations: 3.529 MB / 1.642 GB, free: 14.46 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/1.957, allocations: 5.59 MB / 1.648 GB, free: 8.398 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.841e-05/1.957, allocations: 12 kB / 1.648 GB, free: 8.387 MB / 1.057 GB Notification: Performance of matching and sorting (n=650) (initialization): time 0.01655/1.973, allocations: 6.933 MB / 1.655 GB, free: 1.426 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 8.665e-05/1.973, allocations: 117.1 kB / 1.655 GB, free: 1.293 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-05/1.973, allocations: 32 kB / 1.655 GB, free: 1.262 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/1.974, allocations: 185 kB / 1.655 GB, free: 1.082 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004761/1.979, allocations: 1.232 MB / 1.656 GB, free: 15.85 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008236/1.98, allocations: 1.23 MB / 1.657 GB, free: 14.57 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006339/1.986, allocations: 0.6105 MB / 1.658 GB, free: 13.96 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006309/1.987, allocations: 255.9 kB / 1.658 GB, free: 13.71 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008012/1.995, allocations: 3.617 MB / 1.662 GB, free: 10.08 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00612/2.001, allocations: 3.459 MB / 1.665 GB, free: 6.094 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01066/2.011, allocations: 5.451 MB / 1.67 GB, free: 176 kB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.069e-05/2.011, allocations: 15.94 kB / 1.67 GB, free: 160 kB / 1.073 GB Notification: Performance of matching and sorting (n=650) (initialization_lambda0): time 0.01587/2.027, allocations: 6.752 MB / 1.677 GB, free: 9.367 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 9.022e-05/2.027, allocations: 125 kB / 1.677 GB, free: 9.227 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.233e-05/2.028, allocations: 32.12 kB / 1.677 GB, free: 9.195 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002951/2.028, allocations: 137.8 kB / 1.677 GB, free: 9.055 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004713/2.033, allocations: 1.221 MB / 1.679 GB, free: 7.832 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/2.035, allocations: 3.118 MB / 1.682 GB, free: 4.453 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006522/2.042, allocations: 0.5943 MB / 1.682 GB, free: 3.859 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008286/2.042, allocations: 251.9 kB / 1.682 GB, free: 3.613 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 66 (hexVal.hex.flowRegime_nominal,hexPum.hex.flowRegime_nominal,TDisVal.nextEventScaled,TDisVal.nextEvent,$PRE.TDisVal.nextEvent,TDisVal.last,TDisVal.b,TDisVal.a,THotVal.nextEventScaled,THotVal.nextEvent,$PRE.THotVal.nextEvent,THotVal.last,THotVal.b,THotVal.a,TColVal.nextEventScaled,TColVal.nextEvent,$PRE.TColVal.nextEvent,TColVal.last,TColVal.b,TColVal.a,or2.y,hexVal.hex.flowRegime,hexVal.con.gaiAct.k[2],hexVal.con.gaiAct.k[1],hexVal.con.gaiAct.index,$PRE.hexVal.con.gaiAct.index,hexVal.con.setAct.k[2],hexVal.con.setAct.k[1],hexVal.con.setAct.index,$PRE.hexVal.con.setAct.index,hexVal.con.or1.y,hexVal.con.cooRej.greHys.y,$PRE.hexVal.con.cooRej.greHys.y,hexVal.con.heaRej.greHys.y,$PRE.hexVal.con.heaRej.greHys.y,hexVal.con.and2.y,hexVal.con.greThr.greHys.y,$PRE.hexVal.con.greThr.greHys.y,hexPum.hex.flowRegime,hexPum.con.gaiAct.k[2],hexPum.con.gaiAct.k[1],hexPum.con.gaiAct.index,$PRE.hexPum.con.gaiAct.index,hexPum.con.setAct.k[2],hexPum.con.setAct.k[1],hexPum.con.setAct.index,$PRE.hexPum.con.setAct.index,hexPum.con.or1.y,hexPum.con.cooRej.greHys.y,$PRE.hexPum.con.cooRej.greHys.y,hexPum.con.heaRej.greHys.y,$PRE.hexPum.con.heaRej.greHys.y,hexPum.con.and2.y,hexPum.con.greThr.greHys.y,$PRE.hexPum.con.greThr.greHys.y,uEnaColRej.y,uHeaRej.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (624): * Single equations (assignments): 616 * Array equations: 3 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001504/2.044, allocations: 0.6134 MB / 1.683 GB, free: 2.973 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00228/2.046, allocations: 0.8102 MB / 1.684 GB, free: 2.152 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01697/2.063, allocations: 7.251 MB / 1.691 GB, free: 10.95 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.808e-05/2.063, allocations: 59.97 kB / 1.691 GB, free: 10.89 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/2.063, allocations: 0 / 1.691 GB, free: 10.89 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01131/2.075, allocations: 5.49 MB / 1.696 GB, free: 5.223 MB / 1.104 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 postOpt removeSimpleEquations (simulation): time 0.02902/2.104, allocations: 13.68 MB / 1.71 GB, free: 7.441 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/2.104, allocations: 0 / 1.71 GB, free: 7.441 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003794/2.108, allocations: 0.8389 MB / 1.71 GB, free: 6.602 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003336/2.108, allocations: 118.7 kB / 1.711 GB, free: 6.484 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004257/2.108, allocations: 135.9 kB / 1.711 GB, free: 6.352 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007294/2.109, allocations: 1.175 MB / 1.712 GB, free: 5.125 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/2.109, allocations: 4 kB / 1.712 GB, free: 5.121 MB / 1.12 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "hexPum.hex.flowRegime = if hexPum.hex.C1_flow * hexPum.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.04723/2.156, allocations: 18.06 MB / 1.73 GB, free: 2.766 MB / 1.135 GB Error: post-optimization module symbolicJacobian (simulation) failed.