Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.192/2.192, allocations: 391.2 MB / 407 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 192.8 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 0.7948 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009867/0.0009868, allocations: 103.6 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 53.47 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2649, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.1813/0.4463, allocations: 208.7 MB / 1.422 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.5776/1.024, allocations: 10.83 MB / 1.432 GB, free: 2.238 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002493/1.026, allocations: 58.38 kB / 1.433 GB, free: 2.238 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002202/1.029, allocations: 0.6729 MB / 1.433 GB, free: 2.238 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.007236/1.036, allocations: 2.264 MB / 1.435 GB, free: 2.145 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00611/1.042, allocations: 2.021 MB / 1.437 GB, free: 2.07 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.007553/1.05, allocations: 4.608 MB / 1.442 GB, free: 2.059 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002478/1.052, allocations: 1.138 MB / 1.443 GB, free: 1.934 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004823/1.057, allocations: 1.75 MB / 1.445 GB, free: 1.91 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003243/1.06, allocations: 1.15 MB / 1.446 GB, free: 1.902 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.000374/1.061, allocations: 76.72 kB / 1.446 GB, free: 1.902 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007628/1.068, allocations: 3.186 MB / 1.449 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0007828/1.069, allocations: 398.4 kB / 1.449 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001901/1.071, allocations: 0.8223 MB / 1.45 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.006544/1.078, allocations: 3.339 MB / 1.453 GB, free: 1.578 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.078, allocations: 0 / 1.453 GB, free: 1.578 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.542e-06/1.078, allocations: 0 / 1.453 GB, free: 1.578 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.387e-05/1.078, allocations: 0 / 1.453 GB, free: 1.578 MB / 0.9167 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.00524/1.083, allocations: 2.35 MB / 1.456 GB, free: 16.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/1.083, allocations: 12.14 kB / 1.456 GB, free: 16.39 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002899/1.086, allocations: 0.5396 MB / 1.456 GB, free: 16.28 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/1.089, allocations: 1.242 MB / 1.457 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006575/1.089, allocations: 202 kB / 1.458 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002508/1.09, allocations: 111.6 kB / 1.458 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/1.092, allocations: 1.333 MB / 1.459 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/1.092, allocations: 3.047 kB / 1.459 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.801e-05/1.092, allocations: 38.25 kB / 1.459 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.774e-05/1.093, allocations: 50.3 kB / 1.459 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00317/1.096, allocations: 1.351 MB / 1.461 GB, free: 15.67 MB / 0.9323 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.008828/1.105, allocations: 5.285 MB / 1.466 GB, free: 13.56 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/1.107, allocations: 1.035 MB / 1.467 GB, free: 13.41 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/1.108, allocations: 0.5457 MB / 1.467 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009973/1.109, allocations: 0.7538 MB / 1.468 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/1.111, allocations: 0.6154 MB / 1.469 GB, free: 12.57 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=82): time 3.677e-06/1.111, allocations: 0 / 1.469 GB, free: 12.57 MB / 0.9323 GB Notification: Performance of matching and sorting (n=82): time 0.004376/1.115, allocations: 1.604 MB / 1.47 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/1.115, allocations: 60.34 kB / 1.47 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/1.117, allocations: 1.319 MB / 1.471 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/1.117, allocations: 50.98 kB / 1.472 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004768/1.118, allocations: 0.641 MB / 1.472 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000256/1.118, allocations: 284.1 kB / 1.472 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004057/1.118, allocations: 236.6 kB / 1.473 GB, free: 11.74 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.118, allocations: 346.7 kB / 1.473 GB, free: 11.44 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/1.12, allocations: 0.5138 MB / 1.473 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/1.121, allocations: 0.7845 MB / 1.474 GB, free: 11.15 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002767/1.124, allocations: 1.195 MB / 1.475 GB, free: 10.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/1.124, allocations: 3.594 kB / 1.475 GB, free: 10.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003564/1.128, allocations: 1.484 MB / 1.477 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.675e-05/1.128, allocations: 41.23 kB / 1.477 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.128, allocations: 2.312 kB / 1.477 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/1.128, allocations: 11 kB / 1.477 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/1.129, allocations: 345.8 kB / 1.477 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007648/1.13, allocations: 1.197 MB / 1.478 GB, free: 9.516 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/1.132, allocations: 223.6 kB / 1.479 GB, free: 9.438 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/1.132, allocations: 54.7 kB / 1.479 GB, free: 9.438 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002084/1.134, allocations: 0.7555 MB / 1.479 GB, free: 9.344 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001696/1.136, allocations: 0.7746 MB / 1.48 GB, free: 9.078 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002744/1.139, allocations: 1.184 MB / 1.481 GB, free: 8.832 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.895e-06/1.139, allocations: 0 / 1.481 GB, free: 8.832 MB / 0.9323 GB Notification: Performance of matching and sorting (n=134) (initialization_lambda0): time 0.003801/1.143, allocations: 1.478 MB / 1.483 GB, free: 8.664 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/1.143, allocations: 33.89 kB / 1.483 GB, free: 8.633 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.143, allocations: 4.812 kB / 1.483 GB, free: 8.633 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/1.143, allocations: 8.5 kB / 1.483 GB, free: 8.633 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/1.144, allocations: 313.7 kB / 1.483 GB, free: 8.625 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.852e-05/1.144, allocations: 14.48 kB / 1.483 GB, free: 8.625 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/1.146, allocations: 193.4 kB / 1.483 GB, free: 8.578 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/1.146, allocations: 54.19 kB / 1.483 GB, free: 8.578 MB / 0.9323 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.0004242/1.147, allocations: 251.3 kB / 1.484 GB, free: 8.391 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005273/1.147, allocations: 157.1 kB / 1.484 GB, free: 8.305 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003463/1.151, allocations: 1.339 MB / 1.485 GB, free: 8.203 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/1.151, allocations: 9.156 kB / 1.485 GB, free: 8.203 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/1.151, allocations: 3.938 kB / 1.485 GB, free: 8.199 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/1.151, allocations: 8.766 kB / 1.485 GB, free: 8.195 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006104/1.157, allocations: 2.859 MB / 1.488 GB, free: 7.684 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/1.157, allocations: 4.875 kB / 1.488 GB, free: 7.684 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/1.158, allocations: 225.3 kB / 1.488 GB, free: 7.68 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.742e-05/1.158, allocations: 8.531 kB / 1.488 GB, free: 7.68 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-05/1.158, allocations: 33.25 kB / 1.488 GB, free: 7.676 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006307/1.159, allocations: 1.187 MB / 1.489 GB, free: 6.508 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.159, allocations: 2.094 kB / 1.489 GB, free: 6.508 MB / 0.9323 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.0193/1.178, allocations: 4.563 MB / 1.494 GB, free: 5.633 MB / 0.9323 GB Error: post-optimization module symbolicJacobian (simulation) failed.