Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.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-master/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-master/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.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 182.2 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-master/package.mo): time 0.6896/0.6896, allocations: 133.3 MB / 150.1 MB, free: 11.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.326/1.326, allocations: 222.9 MB / 404.7 MB, free: 6.043 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.001113/0.001113, allocations: 99.62 kB / 485.9 MB, free: 7.188 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009568/0.0009569, allocations: 43.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.12, allocations: 80.43 MB / 0.6421 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow): time 0.4788/0.5989, allocations: 248.5 MB / 0.8848 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02366/0.6226, allocations: 19.5 MB / 0.9038 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002702/0.6253, allocations: 67.62 kB / 0.9039 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.6279, allocations: 0.9715 MB / 0.9048 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009243/0.6371, allocations: 3.706 MB / 0.9084 GB, free: 168 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005512/0.6426, allocations: 2.149 MB / 0.9105 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007401/0.6501, allocations: 6.55 MB / 0.9169 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002214/0.6523, allocations: 1.587 MB / 0.9185 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005646/0.658, allocations: 2.082 MB / 0.9205 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002646/0.6606, allocations: 1.642 MB / 0.9221 GB, free: 2.137 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003073/0.6609, allocations: 124 kB / 0.9222 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008164/0.6691, allocations: 4.654 MB / 0.9268 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0009026/0.67, allocations: 0.5679 MB / 0.9273 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.6717, allocations: 1.244 MB / 0.9285 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.007751/0.6794, allocations: 5.364 MB / 0.9338 GB, free: 6.152 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.6795, allocations: 12 kB / 0.9338 GB, free: 6.141 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6795, allocations: 0 / 0.9338 GB, free: 6.141 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.759e-05/0.6795, allocations: 0 / 0.9338 GB, free: 6.141 MB / 0.6667 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.006525/0.6861, allocations: 3.295 MB / 0.937 GB, free: 2.758 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.6861, allocations: 8.031 kB / 0.937 GB, free: 2.75 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01484/0.701, allocations: 2.127 MB / 0.9391 GB, free: 0.6172 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00412/0.7051, allocations: 1.886 MB / 0.9409 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006827/0.7058, allocations: 243.5 kB / 0.9412 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003897/0.7062, allocations: 176 kB / 0.9413 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007315/0.7136, allocations: 2.872 MB / 0.9441 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.7136, allocations: 0 / 0.9441 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002112/0.7138, allocations: 75.98 kB / 0.9442 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.388e-05/0.7139, allocations: 67.19 kB / 0.9443 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/0.7248, allocations: 3.428 MB / 0.9476 GB, free: 7.781 MB / 0.6823 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.2818/1.007, allocations: 9.076 MB / 0.9565 GB, free: 254.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008309/1.015, allocations: 2.511 MB / 0.9589 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004692/1.02, allocations: 1.529 MB / 0.9604 GB, free: 253.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00867/1.028, allocations: 5.26 MB / 0.9656 GB, free: 250.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005007/1.033, allocations: 1.72 MB / 0.9673 GB, free: 249.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=150): time 3.948e-06/1.033, allocations: 1.344 kB / 0.9673 GB, free: 249.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=150): time 0.01967/1.053, allocations: 5.115 MB / 0.9723 GB, free: 248.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/1.053, allocations: 149.3 kB / 0.9724 GB, free: 248.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/1.056, allocations: 1.656 MB / 0.974 GB, free: 247.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003409/1.056, allocations: 55.64 kB / 0.9741 GB, free: 247.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006089/1.057, allocations: 0.8423 MB / 0.9749 GB, free: 247 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004485/1.057, allocations: 0.4968 MB / 0.9754 GB, free: 246.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008174/1.058, allocations: 416.2 kB / 0.9758 GB, free: 246.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.941e-05/1.058, allocations: 302.9 kB / 0.9761 GB, free: 246.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004691/1.063, allocations: 1.442 MB / 0.9775 GB, free: 245.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004897/1.068, allocations: 1.771 MB / 0.9792 GB, free: 244.9 MB / 0.6823 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.01161/1.079, allocations: 3.68 MB / 0.9828 GB, free: 243.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/1.079, allocations: 2.25 kB / 0.9828 GB, free: 243.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01291/1.092, allocations: 3.985 MB / 0.9867 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.408e-05/1.092, allocations: 71.2 kB / 0.9868 GB, free: 241.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/1.092, allocations: 7.938 kB / 0.9868 GB, free: 241.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/1.094, allocations: 349.8 kB / 0.9871 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00449/1.098, allocations: 0.7326 MB / 0.9878 GB, free: 241.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005496/1.104, allocations: 5.943 MB / 0.9936 GB, free: 235.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004415/1.108, allocations: 495 kB / 0.9941 GB, free: 235.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003192/1.108, allocations: 101.4 kB / 0.9942 GB, free: 235.1 MB / 0.6823 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.005191/1.114, allocations: 1.843 MB / 0.996 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00453/1.118, allocations: 1.772 MB / 0.9977 GB, free: 233.1 MB / 0.6823 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.01073/1.129, allocations: 3.671 MB / 1.001 GB, free: 231 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.758e-06/1.129, allocations: 7.875 kB / 1.001 GB, free: 231 MB / 0.6823 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.0126/1.142, allocations: 3.977 MB / 1.005 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/1.142, allocations: 71.39 kB / 1.005 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/1.142, allocations: 8 kB / 1.005 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/1.143, allocations: 350.6 kB / 1.006 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004528/1.147, allocations: 0.7256 MB / 1.006 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005309/1.153, allocations: 5.959 MB / 1.012 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004343/1.157, allocations: 459.9 kB / 1.013 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/1.157, allocations: 99.91 kB / 1.013 GB, free: 219.2 MB / 0.6823 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.0005915/1.158, allocations: 343.3 kB / 1.013 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005297/1.159, allocations: 197.7 kB / 1.013 GB, free: 218.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/1.171, allocations: 3.818 MB / 1.017 GB, free: 214.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/1.171, allocations: 19.94 kB / 1.017 GB, free: 214.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.171, allocations: 0 / 1.017 GB, free: 214.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/1.171, allocations: 7.969 kB / 1.017 GB, free: 214.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/1.186, allocations: 6.591 MB / 1.023 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.186, allocations: 0 / 1.023 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002862/1.189, allocations: 471.8 kB / 1.024 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/1.19, allocations: 299.9 kB / 1.024 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001929/1.19, allocations: 55.94 kB / 1.024 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004325/1.194, allocations: 3.972 MB / 1.028 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.194, allocations: 12 kB / 1.028 GB, free: 203 MB / 0.6823 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.0564/1.251, allocations: 12.53 MB / 1.04 GB, free: 190.4 MB / 0.6823 GB Error: post-optimization module symbolicJacobian (simulation) failed.