Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.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.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.168/2.168, allocations: 391.2 MB / 407 MB, free: 10.9 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.001198/0.001198, allocations: 193.3 kB / 499.1 MB, free: 4.691 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.513/1.513, allocations: 222.9 MB / 0.7948 GB, free: 15.8 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.001025/0.001025, allocations: 98.83 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001319, allocations: 49.56 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2961, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow): time 0.8496/1.146, allocations: 248.5 MB / 1.461 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02328/1.169, allocations: 19.54 MB / 1.48 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0039/1.173, allocations: 67.73 kB / 1.48 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.00289/1.176, allocations: 0.9697 MB / 1.481 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.01066/1.187, allocations: 3.716 MB / 1.484 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.006863/1.194, allocations: 2.156 MB / 1.487 GB, free: 9.812 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.00814/1.202, allocations: 6.553 MB / 1.493 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003187/1.205, allocations: 1.588 MB / 1.495 GB, free: 9.59 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007465/1.212, allocations: 2.076 MB / 1.497 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004178/1.217, allocations: 1.652 MB / 1.498 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0008995/1.218, allocations: 115.3 kB / 1.498 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009363/1.227, allocations: 4.656 MB / 1.503 GB, free: 9.16 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001037/1.228, allocations: 0.5741 MB / 1.503 GB, free: 9.059 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.002804/1.231, allocations: 1.243 MB / 1.505 GB, free: 8.688 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.009703/1.24, allocations: 5.377 MB / 1.51 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.24, allocations: 0 / 1.51 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.092e-06/1.24, allocations: 0 / 1.51 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001269/1.241, allocations: 0 / 1.51 GB, free: 8.098 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.008751/1.249, allocations: 3.293 MB / 1.513 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/1.249, allocations: 16.48 kB / 1.513 GB, free: 6.488 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01474/1.264, allocations: 2.127 MB / 1.515 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004773/1.269, allocations: 1.882 MB / 1.517 GB, free: 5.785 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008914/1.27, allocations: 251.6 kB / 1.517 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007638/1.271, allocations: 179.2 kB / 1.517 GB, free: 5.762 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007795/1.278, allocations: 2.875 MB / 1.52 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/1.279, allocations: 0 / 1.52 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003599/1.279, allocations: 68.81 kB / 1.52 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/1.279, allocations: 64.41 kB / 1.52 GB, free: 4.777 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00984/1.289, allocations: 3.426 MB / 1.524 GB, free: 3.32 MB / 0.9167 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.01497/1.304, allocations: 9.088 MB / 1.533 GB, free: 12.07 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007147/1.311, allocations: 2.513 MB / 1.535 GB, free: 10.85 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004142/1.315, allocations: 1.523 MB / 1.537 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008722/1.324, allocations: 5.265 MB / 1.542 GB, free: 5.578 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005128/1.329, allocations: 1.723 MB / 1.543 GB, free: 4.574 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=150): time 7.925e-06/1.329, allocations: 3.984 kB / 1.543 GB, free: 4.57 MB / 0.9323 GB Notification: Performance of matching and sorting (n=150): time 0.01872/1.348, allocations: 5.117 MB / 1.548 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.061e-05/1.348, allocations: 149.8 kB / 1.548 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003446/1.351, allocations: 1.657 MB / 1.55 GB, free: 15.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002193/1.352, allocations: 57.7 kB / 1.55 GB, free: 15.08 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009372/1.353, allocations: 0.8322 MB / 1.551 GB, free: 14.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005667/1.353, allocations: 0.4989 MB / 1.551 GB, free: 13.75 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/1.354, allocations: 419.1 kB / 1.552 GB, free: 13.33 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.864e-05/1.354, allocations: 301.1 kB / 1.552 GB, free: 13.04 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004661/1.359, allocations: 1.437 MB / 1.554 GB, free: 11.59 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004922/1.364, allocations: 1.777 MB / 1.555 GB, free: 9.711 MB / 0.948 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.01139/1.375, allocations: 3.687 MB / 1.559 GB, free: 5.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.031e-05/1.375, allocations: 7.938 kB / 1.559 GB, free: 5.922 MB / 0.948 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01357/1.389, allocations: 3.979 MB / 1.563 GB, free: 1.953 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.507e-05/1.389, allocations: 72.64 kB / 1.563 GB, free: 1.871 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/1.389, allocations: 8.188 kB / 1.563 GB, free: 1.863 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/1.39, allocations: 345.8 kB / 1.563 GB, free: 1.516 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004568/1.395, allocations: 0.7299 MB / 1.564 GB, free: 0.8086 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007153/1.402, allocations: 5.951 MB / 1.57 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005075/1.407, allocations: 498 kB / 1.57 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006839/1.408, allocations: 103.9 kB / 1.57 GB, free: 9.852 MB / 0.9636 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: hex.UAFroRated.TAirIn = 293.15 hex.UAFroRated.TWatIn = 293.15. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00634/1.414, allocations: 1.831 MB / 1.572 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005253/1.42, allocations: 1.76 MB / 1.574 GB, free: 6.152 MB / 0.9636 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_lambda0): time 0.01176/1.431, allocations: 3.679 MB / 1.577 GB, free: 2.379 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-05/1.431, allocations: 0 / 1.577 GB, free: 2.379 MB / 0.9636 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.01436/1.446, allocations: 3.974 MB / 1.581 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 6.284e-05/1.446, allocations: 71.39 kB / 1.581 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/1.446, allocations: 8 kB / 1.581 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/1.447, allocations: 353.7 kB / 1.582 GB, free: 13.97 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004605/1.452, allocations: 0.7256 MB / 1.582 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006586/1.458, allocations: 5.948 MB / 1.588 GB, free: 6.898 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004649/1.463, allocations: 466.4 kB / 1.589 GB, free: 6.441 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005477/1.464, allocations: 102.2 kB / 1.589 GB, free: 6.344 MB / 0.9792 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: hex.UAFroRated.TAirIn = 293.15 hex.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 18 (hex.UAFroRated.isFulWet,hex.UAFroRated.isFulDry,hex.flowRegime_nominal,hex.flowRegime,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 203 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 1 system {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): 4 systems {(1,1), (1,3), (1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001124/1.465, allocations: 359.9 kB / 1.589 GB, free: 5.996 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.466, allocations: 201.6 kB / 1.589 GB, free: 5.797 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/1.48, allocations: 3.808 MB / 1.593 GB, free: 1.961 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/1.48, allocations: 19.94 kB / 1.593 GB, free: 1.941 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/1.48, allocations: 0 / 1.593 GB, free: 1.941 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.392e-05/1.48, allocations: 14.5 kB / 1.593 GB, free: 1.93 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01843/1.498, allocations: 6.589 MB / 1.599 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/1.498, allocations: 384 / 1.599 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003123/1.502, allocations: 479.6 kB / 1.6 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/1.503, allocations: 294.4 kB / 1.6 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003395/1.503, allocations: 59.88 kB / 1.6 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005194/1.508, allocations: 3.97 MB / 1.604 GB, free: 6.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/1.508, allocations: 7.984 kB / 1.604 GB, free: 6.223 MB / 0.9948 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.06344/1.572, allocations: 12.54 MB / 1.616 GB, free: 9.543 MB / 1.01 GB Error: post-optimization module symbolicJacobian (simulation) failed.