Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json 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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7022/0.7022, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 403.3 MB, free: 7.078 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009677/0.0009677, allocations: 106 kB / 484.3 MB, free: 8.691 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 51.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1249, allocations: 80.2 MB / 0.6402 GB, free: 6.773 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.455/0.5799, allocations: 208.7 MB / 0.8439 GB, free: 2.387 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0151/0.5951, allocations: 10.85 MB / 0.8545 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.597, allocations: 55.62 kB / 0.8546 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.599, allocations: 0.672 MB / 0.8552 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.006045/0.6051, allocations: 2.246 MB / 0.8574 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.005049/0.6101, allocations: 2.025 MB / 0.8594 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.00483/0.615, allocations: 4.604 MB / 0.8639 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.6169, allocations: 1.153 MB / 0.865 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003582/0.6205, allocations: 1.758 MB / 0.8668 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/0.6228, allocations: 1.15 MB / 0.8679 GB, free: 9.809 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000318/0.6231, allocations: 76 kB / 0.868 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005216/0.6283, allocations: 3.181 MB / 0.8711 GB, free: 6.547 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005261/0.6289, allocations: 398.4 kB / 0.8714 GB, free: 6.156 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.63, allocations: 0.8352 MB / 0.8723 GB, free: 5.316 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004706/0.6347, allocations: 3.323 MB / 0.8755 GB, free: 1.984 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6348, allocations: 4 kB / 0.8755 GB, free: 1.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6348, allocations: 0 / 0.8755 GB, free: 1.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.453e-05/0.6348, allocations: 4 kB / 0.8755 GB, free: 1.977 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.005209/0.64, allocations: 2.341 MB / 0.8778 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.6401, allocations: 8.031 kB / 0.8778 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002894/0.643, allocations: 0.5402 MB / 0.8783 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002471/0.6455, allocations: 1.253 MB / 0.8796 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006728/0.6462, allocations: 201.8 kB / 0.8797 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.6464, allocations: 112 kB / 0.8799 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/0.6491, allocations: 1.326 MB / 0.8811 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.6491, allocations: 0 / 0.8811 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.6492, allocations: 43.92 kB / 0.8812 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-05/0.6493, allocations: 49.94 kB / 0.8812 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003373/0.6527, allocations: 1.354 MB / 0.8826 GB, free: 10.6 MB / 0.6198 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.008712/0.6614, allocations: 5.287 MB / 0.8877 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/0.664, allocations: 1.025 MB / 0.8887 GB, free: 3.969 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.6653, allocations: 0.5454 MB / 0.8893 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/0.6663, allocations: 0.7513 MB / 0.89 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/0.6678, allocations: 0.6133 MB / 0.8906 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=82): time 2.805e-06/0.6678, allocations: 0 / 0.8906 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82): time 0.004384/0.6722, allocations: 1.597 MB / 0.8921 GB, free: 296 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.6723, allocations: 64.05 kB / 0.8922 GB, free: 220 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.6741, allocations: 1.322 MB / 0.8935 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.6742, allocations: 45.7 kB / 0.8935 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005354/0.6747, allocations: 0.6426 MB / 0.8942 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.675, allocations: 279.9 kB / 0.8944 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004051/0.6754, allocations: 246.6 kB / 0.8947 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6755, allocations: 345.9 kB / 0.895 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.6769, allocations: 0.5173 MB / 0.8955 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.6785, allocations: 0.7816 MB / 0.8963 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002793/0.6813, allocations: 1.194 MB / 0.8974 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.6814, allocations: 4 kB / 0.8974 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00365/0.685, allocations: 1.485 MB / 0.8989 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/0.6851, allocations: 34.8 kB / 0.8989 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.6851, allocations: 4 kB / 0.8989 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.6851, allocations: 15.94 kB / 0.8989 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.6869, allocations: 335.6 kB / 0.8993 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006698/0.6876, allocations: 1.199 MB / 0.9004 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.6892, allocations: 232 kB / 0.9007 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.6893, allocations: 55.97 kB / 0.9007 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00177/0.6911, allocations: 0.7562 MB / 0.9014 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001556/0.6927, allocations: 0.7815 MB / 0.9022 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002697/0.6954, allocations: 1.179 MB / 0.9034 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.21e-06/0.6954, allocations: 4 kB / 0.9034 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of matching and sorting (n=134) (initialization_lambda0): time 0.003498/0.6989, allocations: 1.477 MB / 0.9048 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.6989, allocations: 33.7 kB / 0.9048 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6989, allocations: 7.938 kB / 0.9048 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.699, allocations: 12 kB / 0.9049 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.7004, allocations: 319.7 kB / 0.9052 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.7004, allocations: 8 kB / 0.9052 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.702, allocations: 187.1 kB / 0.9054 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.7022, allocations: 55.97 kB / 0.9054 GB, free: 2.227 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (133): * Single equations (assignments): 130 * 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.0004118/0.7026, allocations: 253.1 kB / 0.9056 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/0.7029, allocations: 150.1 kB / 0.9058 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00345/0.7064, allocations: 1.338 MB / 0.9071 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.7064, allocations: 8 kB / 0.9071 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.7064, allocations: 4 kB / 0.9071 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.7064, allocations: 7.922 kB / 0.9071 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005644/0.7121, allocations: 2.848 MB / 0.9099 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.7121, allocations: 4 kB / 0.9099 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.7133, allocations: 228 kB / 0.9101 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.7133, allocations: 8 kB / 0.9101 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.337e-05/0.7134, allocations: 31.98 kB / 0.9102 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000607/0.714, allocations: 1.195 MB / 0.9113 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/0.7141, allocations: 7.938 kB / 0.9113 GB, free: 11.99 MB / 0.6511 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 IDEAS.Fluid.Types.HeatExchangerFlowRegime.CounterFlow else IDEAS.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.01768/0.7317, allocations: 4.565 MB / 0.9158 GB, free: 7.285 MB / 0.6511 GB Error: post-optimization module symbolicJacobian (simulation) failed.