Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001562/0.001562, allocations: 182.8 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.8241/0.8241, allocations: 133.3 MB / 150.1 MB, free: 11.18 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.366/1.366, allocations: 222.9 MB / 404.7 MB, free: 6.09 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.001041/0.001041, allocations: 99.62 kB / 485.9 MB, free: 7.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009894/0.0009894, allocations: 59.91 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1207, allocations: 80.43 MB / 0.6421 GB, free: 5.457 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.4551/0.5758, allocations: 204.5 MB / 0.8419 GB, free: 4.602 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01925/0.5951, allocations: 13.81 MB / 0.8553 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/0.5971, allocations: 47.69 kB / 0.8554 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.5995, allocations: 0.6567 MB / 0.856 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.005628/0.6051, allocations: 2.048 MB / 0.858 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00519/0.6103, allocations: 1.827 MB / 0.8598 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.005034/0.6154, allocations: 4.173 MB / 0.8639 GB, free: 14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/0.6172, allocations: 1.011 MB / 0.8649 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004967/0.6222, allocations: 1.677 MB / 0.8665 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.6241, allocations: 1.048 MB / 0.8675 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.6243, allocations: 68 kB / 0.8676 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005298/0.6296, allocations: 3.185 MB / 0.8707 GB, free: 6.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004636/0.6301, allocations: 370.5 kB / 0.8711 GB, free: 6.617 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0009619/0.631, allocations: 0.7188 MB / 0.8718 GB, free: 5.895 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005003/0.6361, allocations: 3.14 MB / 0.8748 GB, free: 2.746 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6361, allocations: 4 kB / 0.8748 GB, free: 2.742 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6361, allocations: 0 / 0.8748 GB, free: 2.742 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.522e-05/0.6361, allocations: 0 / 0.8748 GB, free: 2.742 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.004149/0.6403, allocations: 2.123 MB / 0.8769 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.6403, allocations: 8.031 kB / 0.8769 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002939/0.6433, allocations: 0.521 MB / 0.8774 GB, free: 20 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/0.6454, allocations: 1.082 MB / 0.8785 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006759/0.6461, allocations: 190.1 kB / 0.8787 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.6463, allocations: 99.98 kB / 0.8788 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/0.6489, allocations: 1.26 MB / 0.88 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.6489, allocations: 3.938 kB / 0.88 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.649, allocations: 36 kB / 0.88 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/0.6491, allocations: 37.98 kB / 0.8801 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003186/0.6523, allocations: 1.3 MB / 0.8813 GB, free: 11.94 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.007828/0.6601, allocations: 4.866 MB / 0.8861 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/0.6628, allocations: 1.002 MB / 0.8871 GB, free: 5.734 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.6641, allocations: 0.5617 MB / 0.8876 GB, free: 5.168 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/0.6653, allocations: 0.8461 MB / 0.8884 GB, free: 4.156 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00148/0.6668, allocations: 0.6766 MB / 0.8891 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=85): time 2.975e-06/0.6668, allocations: 0 / 0.8891 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85): time 0.004518/0.6713, allocations: 1.749 MB / 0.8908 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/0.6714, allocations: 119.5 kB / 0.8909 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.6729, allocations: 1.038 MB / 0.8919 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.6731, allocations: 45.7 kB / 0.892 GB, free: 460 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/0.6735, allocations: 0.5242 MB / 0.8925 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.6738, allocations: 276 kB / 0.8928 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003896/0.6742, allocations: 210.4 kB / 0.893 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6743, allocations: 341.9 kB / 0.8933 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.6757, allocations: 0.5083 MB / 0.8938 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.6773, allocations: 0.7037 MB / 0.8945 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002732/0.68, allocations: 1.196 MB / 0.8956 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.68, allocations: 0 / 0.8956 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003562/0.6836, allocations: 1.483 MB / 0.8971 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.704e-05/0.6837, allocations: 71.39 kB / 0.8971 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.6837, allocations: 4 kB / 0.8972 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.6837, allocations: 7.984 kB / 0.8972 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.685, allocations: 251.7 kB / 0.8974 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.222e-05/0.6851, allocations: 15.92 kB / 0.8974 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.6865, allocations: 206.9 kB / 0.8976 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.6867, allocations: 43.98 kB / 0.8977 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00174/0.6884, allocations: 0.7439 MB / 0.8984 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001529/0.6899, allocations: 0.6982 MB / 0.8991 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002698/0.6927, allocations: 1.192 MB / 0.9002 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.37e-06/0.6927, allocations: 4 kB / 0.9002 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.003539/0.6962, allocations: 1.468 MB / 0.9017 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/0.6963, allocations: 71.39 kB / 0.9017 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.6963, allocations: 4 kB / 0.9017 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.6963, allocations: 4 kB / 0.9017 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.6976, allocations: 259.7 kB / 0.902 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.6976, allocations: 8.625 kB / 0.902 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.6991, allocations: 175.2 kB / 0.9022 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.6992, allocations: 51.97 kB / 0.9022 GB, free: 5.621 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.0003521/0.6996, allocations: 307.4 kB / 0.9025 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/0.6999, allocations: 130.4 kB / 0.9026 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/0.7034, allocations: 1.483 MB / 0.9041 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.7035, allocations: 11.98 kB / 0.9041 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.7035, allocations: 0 / 0.9041 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.7035, allocations: 7.984 kB / 0.9041 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005745/0.7093, allocations: 2.925 MB / 0.907 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.7093, allocations: 8 kB / 0.907 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009873/0.7103, allocations: 203.6 kB / 0.9072 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/0.7103, allocations: 8 kB / 0.9072 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.378e-05/0.7104, allocations: 35.97 kB / 0.9072 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.7104, allocations: 4 kB / 0.9072 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.7104, allocations: 4.094 kB / 0.9072 GB, free: 372 kB / 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.0203/0.7307, allocations: 4.988 MB / 0.9121 GB, free: 11.22 MB / 0.6511 GB Error: post-optimization module symbolicJacobian (simulation) failed.