Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001627/0.001628, 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.7283/0.7283, allocations: 133.3 MB / 150.1 MB, free: 11.13 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.428/1.428, allocations: 222.9 MB / 404.7 MB, free: 6.137 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.001004/0.001004, allocations: 99.56 kB / 485.9 MB, free: 7.277 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 51.92 kB / 0.5636 GB, free: 69.98 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1145, allocations: 80.43 MB / 0.6421 GB, free: 5.48 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.4449/0.5595, allocations: 208.7 MB / 0.8459 GB, free: 456 kB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01498/0.5745, allocations: 10.83 MB / 0.8565 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001765/0.5763, allocations: 55.62 kB / 0.8566 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.5781, allocations: 0.6719 MB / 0.8572 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.005427/0.5835, allocations: 2.246 MB / 0.8594 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.004946/0.5885, allocations: 2.021 MB / 0.8614 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.005096/0.5936, allocations: 4.614 MB / 0.8659 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/0.5956, allocations: 1.149 MB / 0.867 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003791/0.5994, allocations: 1.758 MB / 0.8687 GB, free: 9.035 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/0.6018, allocations: 1.139 MB / 0.8698 GB, free: 7.891 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004115/0.6023, allocations: 76 kB / 0.8699 GB, free: 7.816 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005348/0.6076, allocations: 3.189 MB / 0.873 GB, free: 4.621 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005666/0.6082, allocations: 398.3 kB / 0.8734 GB, free: 4.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.6095, allocations: 0.8313 MB / 0.8742 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004826/0.6143, allocations: 3.327 MB / 0.8775 GB, free: 60 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.6143, allocations: 0 / 0.8775 GB, free: 60 kB / 0.6042 GB Notification: Performance of FrontEnd: time 9.91e-07/0.6143, allocations: 4 kB / 0.8775 GB, free: 56 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.61e-05/0.6144, allocations: 0 / 0.8775 GB, free: 56 kB / 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.004885/0.6193, allocations: 2.341 MB / 0.8798 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.6193, allocations: 8.031 kB / 0.8798 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002773/0.6221, allocations: 0.5441 MB / 0.8803 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/0.6244, allocations: 1.253 MB / 0.8815 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000662/0.6251, allocations: 197.9 kB / 0.8817 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.6252, allocations: 115.9 kB / 0.8818 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/0.6278, allocations: 1.33 MB / 0.8831 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.6279, allocations: 3.938 kB / 0.8831 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-05/0.628, allocations: 36 kB / 0.8832 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-05/0.628, allocations: 45.98 kB / 0.8832 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0033/0.6313, allocations: 1.355 MB / 0.8845 GB, free: 8.676 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.008016/0.6394, allocations: 5.291 MB / 0.8897 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/0.642, allocations: 1.034 MB / 0.8907 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.6433, allocations: 0.5423 MB / 0.8912 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/0.6444, allocations: 0.7513 MB / 0.892 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/0.6459, allocations: 0.6133 MB / 0.8926 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 2.565e-06/0.6459, allocations: 0 / 0.8926 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.004407/0.6503, allocations: 1.605 MB / 0.8941 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.6503, allocations: 64.06 kB / 0.8942 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.652, allocations: 1.318 MB / 0.8955 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-05/0.6521, allocations: 49.7 kB / 0.8955 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004943/0.6526, allocations: 0.6348 MB / 0.8961 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.6528, allocations: 280 kB / 0.8964 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003865/0.6532, allocations: 246.6 kB / 0.8966 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6533, allocations: 349.9 kB / 0.897 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.6548, allocations: 0.5095 MB / 0.8975 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.6565, allocations: 0.7815 MB / 0.8982 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/0.6593, allocations: 1.198 MB / 0.8994 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.6593, allocations: 0 / 0.8994 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003618/0.6629, allocations: 1.485 MB / 0.9009 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.663, allocations: 29.7 kB / 0.9009 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.663, allocations: 8 kB / 0.9009 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.663, allocations: 11.94 kB / 0.9009 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/0.6648, allocations: 347.7 kB / 0.9012 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006404/0.6655, allocations: 1.199 MB / 0.9024 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.6671, allocations: 218.6 kB / 0.9026 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.6672, allocations: 63.84 kB / 0.9027 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001752/0.6689, allocations: 0.7601 MB / 0.9034 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001608/0.6706, allocations: 0.7815 MB / 0.9042 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00274/0.6733, allocations: 1.175 MB / 0.9053 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/0.6733, allocations: 0 / 0.9053 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of matching and sorting (n=134) (initialization_lambda0): time 0.003535/0.6769, allocations: 1.473 MB / 0.9068 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.6769, allocations: 34.64 kB / 0.9068 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.6769, allocations: 12.19 kB / 0.9068 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.677, allocations: 12.08 kB / 0.9068 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.6784, allocations: 315.5 kB / 0.9071 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.6784, allocations: 15.94 kB / 0.9071 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.6799, allocations: 191.1 kB / 0.9073 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.6801, allocations: 59.97 kB / 0.9074 GB, free: 288 kB / 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.0002911/0.6804, allocations: 240 kB / 0.9076 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.6807, allocations: 154.3 kB / 0.9078 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003458/0.6841, allocations: 1.334 MB / 0.9091 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/0.6842, allocations: 12 kB / 0.9091 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6842, allocations: 0 / 0.9091 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.6842, allocations: 7.922 kB / 0.9091 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00555/0.6898, allocations: 2.848 MB / 0.9119 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.6898, allocations: 4.469 kB / 0.9119 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.691, allocations: 235.7 kB / 0.9121 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.691, allocations: 4 kB / 0.9121 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.158e-05/0.6911, allocations: 31.97 kB / 0.9121 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005358/0.6916, allocations: 1.195 MB / 0.9133 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.6916, allocations: 7.938 kB / 0.9133 GB, free: 10.05 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.01769/0.7093, allocations: 4.557 MB / 0.9177 GB, free: 5.355 MB / 0.6511 GB Error: post-optimization module symbolicJacobian (simulation) failed.