Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001093/0.001093, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4519/0.4519, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 349.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 106.6 kB / 420 MB, free: 8.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 47.92 kB / 0.4891 GB, free: 7.699 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3625, allocations: 70.07 MB / 0.5575 GB, free: 44.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.4949/0.8575, allocations: 208.6 MB / 0.7612 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.8723, allocations: 10.84 MB / 0.7718 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003105/0.8754, allocations: 58.72 kB / 0.7719 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002674/0.8782, allocations: 0.678 MB / 0.7725 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006934/0.8851, allocations: 2.256 MB / 0.7748 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005841/0.891, allocations: 2.021 MB / 0.7767 GB, free: 460 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.006576/0.8976, allocations: 4.624 MB / 0.7812 GB, free: 24 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002177/0.8998, allocations: 1.144 MB / 0.7824 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004637/0.9044, allocations: 1.762 MB / 0.7841 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002886/0.9073, allocations: 1.155 MB / 0.7852 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0003086/0.9076, allocations: 78.03 kB / 0.7853 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006188/0.9138, allocations: 3.191 MB / 0.7884 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0006117/0.9145, allocations: 389.9 kB / 0.7888 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.916, allocations: 0.8345 MB / 0.7896 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.006498/0.9225, allocations: 3.333 MB / 0.7928 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.9225, allocations: 4 kB / 0.7928 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.22e-07/0.9225, allocations: 0 / 0.7928 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.652e-05/0.9226, allocations: 0 / 0.7928 GB, free: 10.59 MB / 0.5261 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.005132/0.9277, allocations: 2.35 MB / 0.7951 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.9278, allocations: 8.688 kB / 0.7951 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002972/0.9307, allocations: 0.5368 MB / 0.7957 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/0.9333, allocations: 1.243 MB / 0.7969 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000642/0.934, allocations: 201.8 kB / 0.7971 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.9342, allocations: 124.5 kB / 0.7972 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.9367, allocations: 1.322 MB / 0.7985 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.9368, allocations: 4 kB / 0.7985 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.9369, allocations: 36 kB / 0.7985 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/0.9369, allocations: 45.98 kB / 0.7986 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003105/0.94, allocations: 1.358 MB / 0.7999 GB, free: 4.199 MB / 0.5261 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.00876/0.9488, allocations: 5.294 MB / 0.8051 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002542/0.9514, allocations: 1.028 MB / 0.8061 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.9527, allocations: 0.5537 MB / 0.8066 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.9537, allocations: 0.7492 MB / 0.8073 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001468/0.9552, allocations: 0.6198 MB / 0.8079 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/0.9552, allocations: 0 / 0.8079 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=82): time 0.004427/0.9597, allocations: 1.596 MB / 0.8095 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.9597, allocations: 64.06 kB / 0.8096 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.9614, allocations: 1.329 MB / 0.8109 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.309e-05/0.9615, allocations: 45.7 kB / 0.8109 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000462/0.962, allocations: 0.6337 MB / 0.8115 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.9622, allocations: 287.5 kB / 0.8118 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003569/0.9626, allocations: 242.6 kB / 0.812 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.9627, allocations: 345.9 kB / 0.8124 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.9641, allocations: 0.5173 MB / 0.8129 GB, free: 6.496 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.9656, allocations: 0.7865 MB / 0.8136 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002855/0.9685, allocations: 1.193 MB / 0.8148 GB, free: 4.375 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.9685, allocations: 3.938 kB / 0.8148 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003724/0.9723, allocations: 1.486 MB / 0.8163 GB, free: 2.898 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.581e-05/0.9723, allocations: 37.69 kB / 0.8163 GB, free: 2.855 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.9724, allocations: 10.53 kB / 0.8163 GB, free: 2.848 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.9724, allocations: 8 kB / 0.8163 GB, free: 2.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.9742, allocations: 340.7 kB / 0.8166 GB, free: 2.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007887/0.975, allocations: 1.2 MB / 0.8178 GB, free: 1.277 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.9768, allocations: 218.9 kB / 0.818 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.9769, allocations: 55.97 kB / 0.8181 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001873/0.9788, allocations: 0.7549 MB / 0.8188 GB, free: 256 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001859/0.9807, allocations: 0.7768 MB / 0.8196 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002799/0.9835, allocations: 1.185 MB / 0.8207 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.613e-06/0.9835, allocations: 0 / 0.8207 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=134) (initialization_lambda0): time 0.003745/0.9873, allocations: 1.48 MB / 0.8222 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.9873, allocations: 37.64 kB / 0.8222 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.9873, allocations: 4 kB / 0.8222 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.9874, allocations: 12 kB / 0.8222 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.9889, allocations: 312.8 kB / 0.8225 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/0.9889, allocations: 10.53 kB / 0.8225 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.9906, allocations: 195.1 kB / 0.8227 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.9907, allocations: 55.97 kB / 0.8228 GB, free: 12.07 MB / 0.5573 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.0003487/0.9911, allocations: 249.1 kB / 0.823 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003653/0.9915, allocations: 154.1 kB / 0.8231 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00347/0.9949, allocations: 1.325 MB / 0.8244 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.995, allocations: 16 kB / 0.8245 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.995, allocations: 0 / 0.8245 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.995, allocations: 7.969 kB / 0.8245 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005558/1.001, allocations: 2.852 MB / 0.8273 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/1.001, allocations: 4 kB / 0.8273 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/1.002, allocations: 242.4 kB / 0.8275 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/1.002, allocations: 11.94 kB / 0.8275 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.13e-05/1.002, allocations: 31.98 kB / 0.8275 GB, free: 7.148 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006077/1.002, allocations: 1.193 MB / 0.8287 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.002, allocations: 6.438 kB / 0.8287 GB, free: 5.91 MB / 0.5573 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 IBPSA.Fluid.Types.HeatExchangerFlowRegime.CounterFlow else IBPSA.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.01714/1.02, allocations: 4.545 MB / 0.8331 GB, free: 1.238 MB / 0.5573 GB Error: post-optimization module symbolicJacobian (simulation) failed.