Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001716/0.001716, allocations: 181.1 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.7255/0.7255, allocations: 132.2 MB / 148.9 MB, free: 12.17 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.363/1.363, allocations: 222.9 MB / 403.4 MB, free: 7.094 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.001394/0.001394, allocations: 105.9 kB / 484.3 MB, free: 8.746 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 56.06 kB / 0.5618 GB, free: 71.09 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1487, allocations: 80.2 MB / 0.6402 GB, free: 6.828 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow): time 0.5088/0.6575, allocations: 248.5 MB / 0.8828 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02548/0.6831, allocations: 19.5 MB / 0.9018 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/0.6862, allocations: 71.56 kB / 0.9019 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.6891, allocations: 0.9793 MB / 0.9029 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0094/0.6985, allocations: 3.71 MB / 0.9065 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005419/0.704, allocations: 2.14 MB / 0.9086 GB, free: 80 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007534/0.7115, allocations: 6.531 MB / 0.9149 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002455/0.714, allocations: 1.599 MB / 0.9165 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006044/0.7201, allocations: 2.079 MB / 0.9185 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003213/0.7233, allocations: 1.642 MB / 0.9201 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004386/0.7238, allocations: 116 kB / 0.9203 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00904/0.7328, allocations: 4.666 MB / 0.9248 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.000982/0.7338, allocations: 0.564 MB / 0.9254 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.7359, allocations: 1.247 MB / 0.9266 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00963/0.7455, allocations: 5.368 MB / 0.9318 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.7456, allocations: 0 / 0.9318 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7456, allocations: 0 / 0.9318 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.606e-05/0.7456, allocations: 0 / 0.9318 GB, free: 8.195 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.006817/0.7525, allocations: 3.303 MB / 0.935 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.7525, allocations: 8.031 kB / 0.9351 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01498/0.7675, allocations: 2.123 MB / 0.9371 GB, free: 2.668 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004024/0.7716, allocations: 1.887 MB / 0.939 GB, free: 0.7305 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006984/0.7723, allocations: 243.5 kB / 0.9392 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004102/0.7727, allocations: 176 kB / 0.9394 GB, free: 328 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007207/0.7799, allocations: 2.88 MB / 0.9422 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/0.78, allocations: 0 / 0.9422 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/0.7802, allocations: 64 kB / 0.9422 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.881e-05/0.7803, allocations: 71.19 kB / 0.9423 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.7906, allocations: 3.424 MB / 0.9457 GB, free: 9.836 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.0149/0.8056, allocations: 9.089 MB / 0.9545 GB, free: 312 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3019/1.108, allocations: 2.498 MB / 0.957 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004625/1.112, allocations: 1.527 MB / 0.9585 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008846/1.121, allocations: 5.26 MB / 0.9636 GB, free: 253.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005002/1.126, allocations: 1.723 MB / 0.9653 GB, free: 253.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=150): time 4.268e-06/1.126, allocations: 2.953 kB / 0.9653 GB, free: 253.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=150): time 0.01879/1.145, allocations: 5.108 MB / 0.9703 GB, free: 251.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/1.145, allocations: 153.7 kB / 0.9704 GB, free: 251.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00272/1.148, allocations: 1.656 MB / 0.972 GB, free: 251.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002213/1.148, allocations: 58.23 kB / 0.9721 GB, free: 251 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006204/1.149, allocations: 0.8364 MB / 0.9729 GB, free: 250.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004247/1.149, allocations: 0.492 MB / 0.9734 GB, free: 250.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007955/1.15, allocations: 428.3 kB / 0.9738 GB, free: 249.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.071e-05/1.15, allocations: 302.3 kB / 0.9741 GB, free: 249.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004398/1.154, allocations: 1.444 MB / 0.9755 GB, free: 249.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004582/1.159, allocations: 1.77 MB / 0.9772 GB, free: 248.4 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.01121/1.17, allocations: 3.678 MB / 0.9808 GB, free: 246.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.241e-05/1.17, allocations: 4.5 kB / 0.9808 GB, free: 246.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01292/1.183, allocations: 3.983 MB / 0.9847 GB, free: 245.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.231e-05/1.183, allocations: 75.83 kB / 0.9848 GB, free: 245.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/1.183, allocations: 9.547 kB / 0.9848 GB, free: 245.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/1.184, allocations: 344.9 kB / 0.9851 GB, free: 245.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004305/1.189, allocations: 0.7338 MB / 0.9858 GB, free: 245 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005402/1.194, allocations: 5.952 MB / 0.9917 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004226/1.198, allocations: 487.5 kB / 0.9921 GB, free: 239 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000476/1.199, allocations: 102.8 kB / 0.9922 GB, free: 239 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.005304/1.204, allocations: 1.838 MB / 0.994 GB, free: 238 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00447/1.209, allocations: 1.763 MB / 0.9957 GB, free: 236.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_lambda0): time 0.01056/1.219, allocations: 3.68 MB / 0.9993 GB, free: 234.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-05/1.219, allocations: 0 / 0.9993 GB, free: 234.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.01241/1.232, allocations: 3.984 MB / 1.003 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/1.232, allocations: 75.56 kB / 1.003 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/1.232, allocations: 12 kB / 1.003 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/1.233, allocations: 342.4 kB / 1.004 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004398/1.237, allocations: 0.7318 MB / 1.004 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005416/1.243, allocations: 5.942 MB / 1.01 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004402/1.247, allocations: 473.4 kB / 1.011 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004844/1.248, allocations: 99.91 kB / 1.011 GB, free: 222.8 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.00085/1.249, allocations: 363.1 kB / 1.011 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008372/1.249, allocations: 205.5 kB / 1.011 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/1.262, allocations: 3.808 MB / 1.015 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/1.262, allocations: 19.98 kB / 1.015 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.262, allocations: 0 / 1.015 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/1.262, allocations: 3.984 kB / 1.015 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/1.278, allocations: 6.591 MB / 1.021 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/1.278, allocations: 0 / 1.021 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002852/1.281, allocations: 471.7 kB / 1.022 GB, free: 211.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/1.282, allocations: 297.4 kB / 1.022 GB, free: 211 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002397/1.282, allocations: 51.95 kB / 1.022 GB, free: 211 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004193/1.286, allocations: 3.98 MB / 1.026 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/1.286, allocations: 4 kB / 1.026 GB, free: 206.7 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.05732/1.344, allocations: 12.53 MB / 1.038 GB, free: 194 MB / 0.6823 GB Error: post-optimization module symbolicJacobian (simulation) failed.