Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.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.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.172/2.172, allocations: 391.2 MB / 407 MB, free: 10.79 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.001243/0.001243, allocations: 186.8 kB / 499.1 MB, free: 4.617 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.474/1.474, 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.001049/0.001049, allocations: 99.75 kB / 0.9329 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 52.03 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2728, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.9662/1.239, allocations: 367.2 MB / 1.577 GB, free: 6.027 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.04887/1.288, allocations: 33.62 MB / 1.61 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009554/1.298, allocations: 143.1 kB / 1.61 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.008285/1.306, allocations: 1.939 MB / 1.612 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.02288/1.329, allocations: 6.931 MB / 1.618 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.01267/1.342, allocations: 4.116 MB / 1.622 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.02193/1.363, allocations: 13.69 MB / 1.636 GB, free: 1.785 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007344/1.371, allocations: 3.274 MB / 1.639 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01844/1.389, allocations: 4.778 MB / 1.644 GB, free: 9.695 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008173/1.398, allocations: 3.345 MB / 1.647 GB, free: 6.344 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001844/1.399, allocations: 240 kB / 1.647 GB, free: 6.109 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01761/1.417, allocations: 7.264 MB / 1.654 GB, free: 14.83 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.003121/1.42, allocations: 1.163 MB / 1.655 GB, free: 13.66 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.006677/1.427, allocations: 2.503 MB / 1.658 GB, free: 11.14 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.02449/1.451, allocations: 9.769 MB / 1.667 GB, free: 1.348 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/1.452, allocations: 3.984 kB / 1.667 GB, free: 1.344 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.204e-06/1.452, allocations: 4 kB / 1.667 GB, free: 1.34 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0002701/1.452, allocations: 0 / 1.667 GB, free: 1.34 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01797/1.47, allocations: 5.931 MB / 1.673 GB, free: 11.3 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/1.47, allocations: 15.97 kB / 1.673 GB, free: 11.29 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03003/1.5, allocations: 4.286 MB / 1.677 GB, free: 6.992 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/1.51, allocations: 3.581 MB / 1.681 GB, free: 3.348 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001624/1.512, allocations: 0.5241 MB / 1.681 GB, free: 2.816 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001627/1.513, allocations: 351.9 kB / 1.682 GB, free: 2.473 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01716/1.53, allocations: 5.72 MB / 1.687 GB, free: 12.67 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.234e-05/1.531, allocations: 3.938 kB / 1.687 GB, free: 12.66 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005019/1.531, allocations: 132 kB / 1.687 GB, free: 12.54 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/1.531, allocations: 134.5 kB / 1.688 GB, free: 12.4 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02266/1.554, allocations: 6.845 MB / 1.694 GB, free: 5.547 MB / 1.042 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.04633/1.6, allocations: 22.23 MB / 1.716 GB, free: 14.18 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/1.613, allocations: 4.059 MB / 1.72 GB, free: 10.13 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007473/1.62, allocations: 2.266 MB / 1.722 GB, free: 7.855 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01594/1.636, allocations: 8.172 MB / 1.73 GB, free: 15.31 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007571/1.644, allocations: 2.397 MB / 1.732 GB, free: 12.9 MB / 1.089 GB Notification: Performance of pre-optimization done (n=230): time 5.33e-06/1.644, allocations: 0 / 1.732 GB, free: 12.9 MB / 1.089 GB Notification: Performance of matching and sorting (n=230): time 0.03414/1.678, allocations: 8.437 MB / 1.741 GB, free: 4.324 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/1.678, allocations: 81.34 kB / 1.741 GB, free: 4.234 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008763/1.687, allocations: 4.272 MB / 1.745 GB, free: 15.94 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.0008512/1.688, allocations: 77.7 kB / 1.745 GB, free: 15.86 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.001875/1.69, allocations: 1.821 MB / 1.747 GB, free: 14.02 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.00134/1.691, allocations: 0.7934 MB / 1.748 GB, free: 13.21 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001867/1.693, allocations: 0.804 MB / 1.748 GB, free: 12.4 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001077/1.693, allocations: 305.1 kB / 1.749 GB, free: 12.1 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009484/1.703, allocations: 2.743 MB / 1.751 GB, free: 9.355 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01066/1.713, allocations: 3.424 MB / 1.755 GB, free: 5.699 MB / 1.104 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.01971/1.733, allocations: 5.957 MB / 1.76 GB, free: 15.5 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.177e-05/1.733, allocations: 8 kB / 1.76 GB, free: 15.49 MB / 1.12 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02973/1.763, allocations: 7.587 MB / 1.768 GB, free: 7.832 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/1.763, allocations: 13.28 kB / 1.768 GB, free: 7.82 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.994e-05/1.763, allocations: 16 kB / 1.768 GB, free: 7.805 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004284/1.767, allocations: 0.9714 MB / 1.769 GB, free: 6.805 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009353/1.777, allocations: 1.416 MB / 1.77 GB, free: 5.387 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01693/1.794, allocations: 13.74 MB / 1.784 GB, free: 6.613 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01196/1.806, allocations: 1.28 MB / 1.785 GB, free: 5.328 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/1.807, allocations: 187.8 kB / 1.785 GB, free: 5.145 MB / 1.135 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: hexWetNTU.UAFroRated.TAirIn = 293.15 hexWetNTU.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 13 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,hexWetNTU.flowRegime_nominal,hexWetNTU_TX.flowRegime_nominal,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent,hexWetNTU_TX.flowRegime,hexWetNTU.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (418): * Single equations (assignments): 403 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 9 * 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: 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): 9 systems {(1,1), (1,3), (1,2), (1,2), (1,4), (1,2), (1,4), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.004003/1.811, allocations: 0.8575 MB / 1.786 GB, free: 4.277 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002188/1.813, allocations: 422.8 kB / 1.786 GB, free: 3.859 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0227/1.836, allocations: 5.791 MB / 1.792 GB, free: 14.03 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.96e-05/1.836, allocations: 27.98 kB / 1.792 GB, free: 14 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/1.836, allocations: 4 kB / 1.792 GB, free: 14 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-05/1.836, allocations: 11.95 kB / 1.792 GB, free: 13.98 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03126/1.868, allocations: 10.92 MB / 1.803 GB, free: 2.902 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.316e-05/1.868, allocations: 16.02 kB / 1.803 GB, free: 2.887 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004934/1.873, allocations: 0.6592 MB / 1.803 GB, free: 2.227 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003566/1.876, allocations: 0.7832 MB / 1.804 GB, free: 1.418 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009754/1.877, allocations: 79.91 kB / 1.804 GB, free: 1.34 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/1.891, allocations: 10.96 MB / 1.815 GB, free: 5.496 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.891, allocations: 8.062 kB / 1.815 GB, free: 5.488 MB / 1.167 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "hexWetNTU.flowRegime = if hexWetNTU.C1_flow * hexWetNTU.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.07982/1.971, allocations: 16.71 MB / 1.831 GB, free: 4.586 MB / 1.182 GB Error: post-optimization module symbolicJacobian (simulation) failed.