Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.654/1.654, allocations: 292.3 MB / 308.1 MB, free: 4.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001368/0.001368, allocations: 190.4 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.1 MB / 0.6354 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.001021, allocations: 98.95 kB / 0.748 GB, free: 61.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2453, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.6179/0.8632, allocations: 204.6 MB / 1.182 GB, free: 1.746 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0172/0.8804, allocations: 13.73 MB / 1.195 GB, free: 8.086 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.8824, allocations: 49.03 kB / 1.195 GB, free: 8.062 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.8843, allocations: 0.6472 MB / 1.196 GB, free: 7.703 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005075/0.8894, allocations: 2.049 MB / 1.198 GB, free: 6.562 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004698/0.8941, allocations: 1.82 MB / 1.2 GB, free: 5.621 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004259/0.8984, allocations: 4.151 MB / 1.204 GB, free: 4.051 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.8997, allocations: 0.9985 MB / 1.205 GB, free: 3.617 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004437/0.9042, allocations: 1.658 MB / 1.207 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.9059, allocations: 1.053 MB / 1.208 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.9061, allocations: 66.72 kB / 1.208 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005351/0.9115, allocations: 3.193 MB / 1.211 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004523/0.9119, allocations: 372.4 kB / 1.211 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0009494/0.9129, allocations: 0.7148 MB / 1.212 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004953/0.9179, allocations: 3.137 MB / 1.215 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.9179, allocations: 0 / 1.215 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.193e-06/0.9179, allocations: 3.938 kB / 1.215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.178e-05/0.9179, allocations: 0 / 1.215 GB, free: 15.73 MB / 0.8073 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.004417/0.9223, allocations: 2.122 MB / 1.217 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.9224, allocations: 9.188 kB / 1.217 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/0.9254, allocations: 0.5117 MB / 1.217 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.9277, allocations: 1.087 MB / 1.218 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006822/0.9284, allocations: 192.9 kB / 1.219 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.9286, allocations: 93.88 kB / 1.219 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002848/0.9315, allocations: 1.264 MB / 1.22 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.9315, allocations: 0.6562 kB / 1.22 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.9316, allocations: 36.25 kB / 1.22 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/0.9317, allocations: 36.83 kB / 1.22 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003373/0.9351, allocations: 1.301 MB / 1.221 GB, free: 12.57 MB / 0.8073 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.009356/0.9444, allocations: 4.87 MB / 1.226 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002847/0.9473, allocations: 0.9993 MB / 1.227 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.9487, allocations: 0.5692 MB / 1.228 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.95, allocations: 0.8392 MB / 1.228 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/0.9517, allocations: 0.6836 MB / 1.229 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=85): time 2.695e-06/0.9517, allocations: 0 / 1.229 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of matching and sorting (n=85): time 0.005425/0.9571, allocations: 1.743 MB / 1.231 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.9573, allocations: 116 kB / 1.231 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/0.9595, allocations: 1.039 MB / 1.232 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001877/0.9597, allocations: 50.75 kB / 1.232 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006292/0.9603, allocations: 0.5228 MB / 1.232 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003583/0.9607, allocations: 273.9 kB / 1.233 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004673/0.9612, allocations: 207.8 kB / 1.233 GB, free: 5.789 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.9614, allocations: 346.5 kB / 1.233 GB, free: 5.465 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.9629, allocations: 0.5079 MB / 1.234 GB, free: 5.301 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.9647, allocations: 0.6943 MB / 1.234 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002769/0.9674, allocations: 1.202 MB / 1.236 GB, free: 4.352 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.9675, allocations: 0 / 1.236 GB, free: 4.352 MB / 0.8073 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003865/0.9713, allocations: 1.479 MB / 1.237 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.38e-05/0.9714, allocations: 73.92 kB / 1.237 GB, free: 3.711 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.9714, allocations: 3.594 kB / 1.237 GB, free: 3.711 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.9715, allocations: 6.312 kB / 1.237 GB, free: 3.711 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.9728, allocations: 259.5 kB / 1.237 GB, free: 3.684 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.9728, allocations: 9.156 kB / 1.237 GB, free: 3.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.9745, allocations: 201.4 kB / 1.238 GB, free: 3.609 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.9747, allocations: 47.02 kB / 1.238 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001994/0.9767, allocations: 0.7413 MB / 1.238 GB, free: 3.289 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001798/0.9785, allocations: 0.7049 MB / 1.239 GB, free: 2.926 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002821/0.9813, allocations: 1.184 MB / 1.24 GB, free: 2.34 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.521e-06/0.9813, allocations: 3.938 kB / 1.24 GB, free: 2.336 MB / 0.8073 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.003666/0.985, allocations: 1.476 MB / 1.242 GB, free: 1.77 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.845e-05/0.9851, allocations: 72.86 kB / 1.242 GB, free: 1.703 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.9851, allocations: 6.781 kB / 1.242 GB, free: 1.699 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.9851, allocations: 6.031 kB / 1.242 GB, free: 1.699 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.9863, allocations: 250.4 kB / 1.242 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.9864, allocations: 12.55 kB / 1.242 GB, free: 1.676 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.988, allocations: 184.4 kB / 1.242 GB, free: 1.613 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.9882, allocations: 46.86 kB / 1.242 GB, free: 1.605 MB / 0.8073 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.000444/0.9886, allocations: 307.3 kB / 1.243 GB, free: 1.316 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/0.9889, allocations: 126.1 kB / 1.243 GB, free: 1.254 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0036/0.9925, allocations: 1.49 MB / 1.244 GB, free: 0.6875 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.9926, allocations: 13.98 kB / 1.244 GB, free: 0.6836 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.9926, allocations: 0.7031 kB / 1.244 GB, free: 0.6836 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.9926, allocations: 3.75 kB / 1.244 GB, free: 0.6836 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005693/0.9983, allocations: 2.939 MB / 1.247 GB, free: 15.33 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.9983, allocations: 6.469 kB / 1.247 GB, free: 15.33 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009131/0.9992, allocations: 195 kB / 1.247 GB, free: 15.31 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.9992, allocations: 5.531 kB / 1.247 GB, free: 15.31 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.597e-05/0.9993, allocations: 38.75 kB / 1.247 GB, free: 15.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.9993, allocations: 5.375 kB / 1.247 GB, free: 15.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.9993, allocations: 6.75 kB / 1.247 GB, free: 15.29 MB / 0.823 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 Buildings.Fluid.Types.HeatExchangerFlowRegime.CounterFlow else Buildings.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.01905/1.018, allocations: 4.986 MB / 1.252 GB, free: 13.32 MB / 0.823 GB Error: post-optimization module symbolicJacobian (simulation) failed.