Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 183.3 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.7/0.7, 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.39/1.39, allocations: 222.9 MB / 403.4 MB, free: 7.055 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.0009873/0.0009873, allocations: 99 kB / 484.3 MB, free: 8.684 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 55.92 kB / 0.5618 GB, free: 71.03 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1441, allocations: 80.2 MB / 0.6402 GB, free: 6.758 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.4948/0.639, allocations: 204.5 MB / 0.8399 GB, free: 6.504 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01886/0.6579, allocations: 13.81 MB / 0.8534 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.6597, allocations: 47.69 kB / 0.8534 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.6616, allocations: 0.6528 MB / 0.8541 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.005231/0.6669, allocations: 2.059 MB / 0.8561 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.005045/0.6719, allocations: 1.839 MB / 0.8579 GB, free: 4.059 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004963/0.6769, allocations: 4.179 MB / 0.8619 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.6784, allocations: 0.991 MB / 0.8629 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004766/0.6832, allocations: 1.676 MB / 0.8645 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.6852, allocations: 1.041 MB / 0.8656 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.6854, allocations: 68 kB / 0.8656 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005762/0.6911, allocations: 3.197 MB / 0.8687 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004637/0.6916, allocations: 370.5 kB / 0.8691 GB, free: 8.504 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.6929, allocations: 0.7149 MB / 0.8698 GB, free: 7.785 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005706/0.6987, allocations: 3.14 MB / 0.8729 GB, free: 4.637 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.6987, allocations: 0 / 0.8729 GB, free: 4.637 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6987, allocations: 0 / 0.8729 GB, free: 4.637 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.933e-05/0.6988, allocations: 0 / 0.8729 GB, free: 4.637 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.005354/0.7041, allocations: 2.119 MB / 0.8749 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.7042, allocations: 12.03 kB / 0.8749 GB, free: 2.438 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/0.7074, allocations: 0.5171 MB / 0.8755 GB, free: 1.918 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.71, allocations: 1.09 MB / 0.8765 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007108/0.7107, allocations: 186.1 kB / 0.8767 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000269/0.711, allocations: 100 kB / 0.8768 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/0.714, allocations: 1.264 MB / 0.878 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.7141, allocations: 4 kB / 0.878 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.7142, allocations: 32 kB / 0.8781 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.65e-05/0.7142, allocations: 45.98 kB / 0.8781 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003489/0.7177, allocations: 1.304 MB / 0.8794 GB, free: 13.82 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.009011/0.7268, allocations: 4.866 MB / 0.8841 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/0.7296, allocations: 0.9978 MB / 0.8851 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.7309, allocations: 0.5629 MB / 0.8857 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/0.7321, allocations: 0.8383 MB / 0.8865 GB, free: 6.055 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001667/0.7338, allocations: 0.6848 MB / 0.8871 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=85): time 4.538e-06/0.7339, allocations: 4 kB / 0.8871 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85): time 0.004657/0.7385, allocations: 1.745 MB / 0.8888 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.7386, allocations: 119.5 kB / 0.889 GB, free: 3.438 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.7403, allocations: 1.038 MB / 0.89 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.7405, allocations: 45.7 kB / 0.89 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005539/0.7411, allocations: 0.5164 MB / 0.8905 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.7414, allocations: 276 kB / 0.8908 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000501/0.7419, allocations: 214.4 kB / 0.891 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.7421, allocations: 341.9 kB / 0.8913 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.7438, allocations: 0.5083 MB / 0.8918 GB, free: 484 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.7457, allocations: 0.6999 MB / 0.8925 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003463/0.7492, allocations: 1.196 MB / 0.8937 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/0.7492, allocations: 0 / 0.8937 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003801/0.753, allocations: 1.479 MB / 0.8951 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.313e-05/0.7531, allocations: 67.39 kB / 0.8952 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.7532, allocations: 4 kB / 0.8952 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.7532, allocations: 12.09 kB / 0.8952 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.7545, allocations: 259.6 kB / 0.8954 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/0.7546, allocations: 4 kB / 0.8954 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.7561, allocations: 208.1 kB / 0.8956 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.7563, allocations: 47.97 kB / 0.8957 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001803/0.7581, allocations: 0.7439 MB / 0.8964 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001597/0.7597, allocations: 0.6959 MB / 0.8971 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002718/0.7624, allocations: 1.188 MB / 0.8982 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.637e-06/0.7624, allocations: 0 / 0.8982 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.003736/0.7662, allocations: 1.475 MB / 0.8997 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/0.7663, allocations: 71.38 kB / 0.8998 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7663, allocations: 4 kB / 0.8998 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.7663, allocations: 11.94 kB / 0.8998 GB, free: 8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.7676, allocations: 255.7 kB / 0.9 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.7676, allocations: 11.94 kB / 0.9 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.7693, allocations: 179.2 kB / 0.9002 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.7694, allocations: 51.97 kB / 0.9002 GB, free: 7.512 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 (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 (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003684/0.7698, allocations: 303.4 kB / 0.9005 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004059/0.7702, allocations: 138.5 kB / 0.9007 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003647/0.7739, allocations: 1.488 MB / 0.9021 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.7739, allocations: 8 kB / 0.9021 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.7739, allocations: 0 / 0.9021 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.7739, allocations: 3.984 kB / 0.9021 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005933/0.7799, allocations: 2.928 MB / 0.905 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.7799, allocations: 7.938 kB / 0.905 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.7809, allocations: 196.1 kB / 0.9052 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.7809, allocations: 4 kB / 0.9052 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.031e-05/0.781, allocations: 31.98 kB / 0.9052 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.7811, allocations: 11.98 kB / 0.9052 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.7811, allocations: 7.938 kB / 0.9052 GB, free: 2.254 MB / 0.6355 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.01986/0.8009, allocations: 4.981 MB / 0.9101 GB, free: 13.12 MB / 0.6511 GB Error: post-optimization module symbolicJacobian (simulation) failed.