Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUHeating.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.Validation.WetCoilEffectivenessNTUHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUHeating") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.147/2.147, allocations: 391.2 MB / 407 MB, free: 10.77 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.001335/0.001335, allocations: 199.4 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.47/1.47, allocations: 222.9 MB / 0.7948 GB, free: 15.7 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.001028/0.001027, allocations: 104.8 kB / 0.9329 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 51.66 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2922, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUHeating): time 0.9697/1.262, allocations: 441.2 MB / 1.649 GB, free: 4.074 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.05758/1.32, allocations: 37.54 MB / 1.686 GB, free: 14.44 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009144/1.329, allocations: 190.8 kB / 1.686 GB, free: 14.25 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.008724/1.338, allocations: 2.491 MB / 1.688 GB, free: 11.75 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.02617/1.364, allocations: 8.948 MB / 1.697 GB, free: 2.77 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01433/1.378, allocations: 5.293 MB / 1.702 GB, free: 13.5 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.1762/1.554, allocations: 151.4 MB / 1.85 GB, free: 5.676 MB / 1.198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07825/1.633, allocations: 41.06 MB / 1.89 GB, free: 12.41 MB / 1.245 GB Notification: Performance of NFEvalConstants.evaluate: time 1.519/3.152, allocations: 30.43 MB / 1.92 GB, free: 58.98 MB / 1.245 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07005/3.222, allocations: 32.06 MB / 1.951 GB, free: 55.21 MB / 1.245 GB Notification: Performance of NFPackage.collectConstants: time 0.01539/3.237, allocations: 2.069 MB / 1.953 GB, free: 55.21 MB / 1.245 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0457/3.283, allocations: 10.88 MB / 1.964 GB, free: 55.21 MB / 1.245 GB Notification: Performance of NFScalarize.scalarize: time 0.02626/3.309, allocations: 11.02 MB / 1.975 GB, free: 53.69 MB / 1.245 GB Notification: Performance of NFVerifyModel.verify: time 0.07343/3.383, allocations: 22.67 MB / 1.997 GB, free: 47.6 MB / 1.245 GB Notification: Performance of NFConvertDAE.convert: time 0.105/3.488, allocations: 80.49 MB / 2.075 GB, free: 33.58 MB / 1.245 GB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/3.488, allocations: 0 / 2.075 GB, free: 33.58 MB / 1.245 GB Notification: Performance of FrontEnd: time 1.863e-06/3.488, allocations: 6.219 kB / 2.075 GB, free: 33.58 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.002766/3.491, allocations: 0 / 2.075 GB, free: 33.58 MB / 1.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7129 * Number of variables: 7129 Notification: Performance of Generate backend data structure: time 0.1541/3.645, allocations: 47.27 MB / 2.121 GB, free: 11.41 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/3.645, allocations: 11.23 kB / 2.121 GB, free: 11.4 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07152/3.717, allocations: 10.41 MB / 2.132 GB, free: 7.082 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1155/3.832, allocations: 43.93 MB / 2.175 GB, free: 9.16 MB / 1.261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004087/3.836, allocations: 2.359 MB / 2.177 GB, free: 8.102 MB / 1.261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01676/3.853, allocations: 2.838 MB / 2.18 GB, free: 7.156 MB / 1.261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.152/4.005, allocations: 44.06 MB / 2.223 GB, free: 10.65 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001919/4.007, allocations: 86.58 kB / 2.223 GB, free: 10.59 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01522/4.022, allocations: 1.14 MB / 2.224 GB, free: 9.473 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001564/4.024, allocations: 1.328 MB / 2.225 GB, free: 8.148 MB / 1.307 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1123/4.136, allocations: 39.96 MB / 2.264 GB, free: 352 kB / 1.339 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 1.253/5.389, allocations: 190.7 MB / 2.45 GB, free: 356.2 MB / 1.526 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05241/5.441, allocations: 28.36 MB / 2.478 GB, free: 353 MB / 1.526 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04059/5.482, allocations: 16.72 MB / 2.494 GB, free: 352.8 MB / 1.526 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 evalFunc (simulation): time 0.1503/5.632, allocations: 50.18 MB / 2.543 GB, free: 348.8 MB / 1.526 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/5.633, allocations: 256.9 kB / 2.544 GB, free: 348.6 MB / 1.526 GB Notification: Performance of pre-optimization done (n=1491): time 1.458e-05/5.633, allocations: 1.062 kB / 2.544 GB, free: 348.6 MB / 1.526 GB Notification: Performance of matching and sorting (n=1493): time 0.1726/5.805, allocations: 57.6 MB / 2.6 GB, free: 327.5 MB / 1.526 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/5.805, allocations: 207.3 kB / 2.6 GB, free: 327.5 MB / 1.526 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08318/5.889, allocations: 34.08 MB / 2.633 GB, free: 316.5 MB / 1.526 GB Notification: Performance of collectPreVariables (initialization): time 0.00515/5.894, allocations: 389.2 kB / 2.634 GB, free: 316.2 MB / 1.526 GB Notification: Performance of collectInitialEqns (initialization): time 0.02179/5.916, allocations: 17.18 MB / 2.651 GB, free: 302.9 MB / 1.526 GB Notification: Performance of collectInitialBindings (initialization): time 0.008075/5.924, allocations: 5.299 MB / 2.656 GB, free: 298.9 MB / 1.526 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01725/5.941, allocations: 4.303 MB / 2.66 GB, free: 296.9 MB / 1.526 GB Notification: Performance of setup shared object (initialization): time 4.637e-05/5.941, allocations: 304.3 kB / 2.66 GB, free: 296.6 MB / 1.526 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02529/5.966, allocations: 11.68 MB / 2.672 GB, free: 290 MB / 1.526 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02962/5.996, allocations: 17.74 MB / 2.689 GB, free: 272.5 MB / 1.526 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: hexDis.ele[1].vol2.dynBal.medium.p = hexDis.ele[1].vol2.dynBal.p_start (sinAir.p = hexDis.ele[1].vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.2276/6.224, allocations: 74.18 MB / 2.761 GB, free: 200.3 MB / 1.526 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001978/6.224, allocations: 40 kB / 2.761 GB, free: 200.2 MB / 1.526 GB Notification: Performance of matching and sorting (n=2708) (initialization): time 0.08621/6.31, allocations: 32.94 MB / 2.794 GB, free: 168 MB / 1.526 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002021/6.31, allocations: 64 kB / 2.794 GB, free: 168 MB / 1.526 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002647/6.311, allocations: 136.8 kB / 2.794 GB, free: 167.8 MB / 1.526 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002006/6.313, allocations: 0.6676 MB / 2.794 GB, free: 167.2 MB / 1.526 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02493/6.338, allocations: 5.306 MB / 2.8 GB, free: 162.2 MB / 1.526 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006485/6.344, allocations: 5.154 MB / 2.805 GB, free: 156.8 MB / 1.526 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03875/6.383, allocations: 3.64 MB / 2.808 GB, free: 153.1 MB / 1.526 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005404/6.388, allocations: 0.8451 MB / 2.809 GB, free: 152.3 MB / 1.526 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: hexDis.ele[1].vol2.dynBal.medium.p = hexDis.ele[1].vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 6 (hexWetNTU_TX.flowRegime_nominal,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,hexDryNTU_T.flowRegime_nominal,hexWetNTU_TX.flowRegime,hexDryNTU_T.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2664): * Single equations (assignments): 2628 * Array equations: 32 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(1,4), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.03095/6.419, allocations: 14.26 MB / 2.823 GB, free: 138.3 MB / 1.526 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01163/6.431, allocations: 3.096 MB / 2.826 GB, free: 135.2 MB / 1.526 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06347/6.494, allocations: 24.24 MB / 2.85 GB, free: 111 MB / 1.526 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001134/6.495, allocations: 144 kB / 2.85 GB, free: 110.8 MB / 1.526 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-05/6.495, allocations: 12 kB / 2.85 GB, free: 110.8 MB / 1.526 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04145/6.536, allocations: 19.41 MB / 2.869 GB, free: 91.41 MB / 1.526 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1524/6.688, allocations: 59.15 MB / 2.927 GB, free: 32.4 MB / 1.526 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.583e-05/6.689, allocations: 8 kB / 2.927 GB, free: 32.39 MB / 1.526 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02167/6.71, allocations: 4.076 MB / 2.931 GB, free: 28.45 MB / 1.526 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00168/6.712, allocations: 379.1 kB / 2.931 GB, free: 28.07 MB / 1.526 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004317/6.716, allocations: 455.8 kB / 2.931 GB, free: 27.63 MB / 1.526 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004477/6.721, allocations: 4.045 MB / 2.935 GB, free: 23.31 MB / 1.526 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/6.721, allocations: 16.97 kB / 2.935 GB, free: 23.3 MB / 1.526 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "hexWetNTU_TX.flowRegime = if hexWetNTU_TX.C1_flow * hexWetNTU_TX.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.9347/7.656, allocations: 80.46 MB / 3.014 GB, free: 0.666 GB / 1.573 GB Error: post-optimization module symbolicJacobian (simulation) failed.