Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.195/2.195, allocations: 391.2 MB / 407 MB, free: 10.88 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.001231/0.001232, allocations: 197.5 kB / 499.1 MB, free: 4.68 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.469/1.469, allocations: 222.9 MB / 0.7948 GB, free: 15.84 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.00127/0.00127, allocations: 106 kB / 0.9329 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 53.67 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2695, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.1861/0.4556, allocations: 204.5 MB / 1.418 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.568/1.024, allocations: 13.82 MB / 1.431 GB, free: 2.258 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/1.026, allocations: 47.44 kB / 1.431 GB, free: 2.258 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002037/1.028, allocations: 0.6613 MB / 1.432 GB, free: 2.254 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.01143/1.039, allocations: 2.058 MB / 1.434 GB, free: 2.18 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.01002/1.049, allocations: 1.83 MB / 1.436 GB, free: 2.105 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.006874/1.056, allocations: 4.176 MB / 1.44 GB, free: 2.098 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002423/1.058, allocations: 0.9912 MB / 1.441 GB, free: 1.988 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006076/1.065, allocations: 1.666 MB / 1.442 GB, free: 1.965 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002936/1.068, allocations: 1.053 MB / 1.444 GB, free: 1.961 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0006261/1.068, allocations: 67.47 kB / 1.444 GB, free: 1.961 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007399/1.076, allocations: 3.198 MB / 1.447 GB, free: 1.926 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0009755/1.077, allocations: 363.8 kB / 1.447 GB, free: 1.926 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.00239/1.079, allocations: 0.7182 MB / 1.448 GB, free: 1.926 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.007818/1.087, allocations: 3.143 MB / 1.451 GB, free: 1.73 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.087, allocations: 3.312 kB / 1.451 GB, free: 1.73 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.062e-06/1.087, allocations: 2.906 kB / 1.451 GB, free: 1.73 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.211e-05/1.087, allocations: 0 / 1.451 GB, free: 1.73 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.005914/1.093, allocations: 2.116 MB / 1.453 GB, free: 16.61 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/1.093, allocations: 12.83 kB / 1.453 GB, free: 16.61 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003164/1.096, allocations: 0.5197 MB / 1.453 GB, free: 16.51 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/1.099, allocations: 1.076 MB / 1.454 GB, free: 16.13 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006582/1.099, allocations: 194.5 kB / 1.455 GB, free: 16.11 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002847/1.1, allocations: 96.94 kB / 1.455 GB, free: 16.11 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/1.103, allocations: 1.261 MB / 1.456 GB, free: 16.01 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/1.103, allocations: 2.906 kB / 1.456 GB, free: 16.01 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/1.103, allocations: 40.97 kB / 1.456 GB, free: 16.01 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-05/1.103, allocations: 41.86 kB / 1.456 GB, free: 16.01 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003008/1.106, allocations: 1.298 MB / 1.457 GB, free: 15.98 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.008551/1.114, allocations: 4.867 MB / 1.462 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/1.117, allocations: 0.9941 MB / 1.463 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/1.118, allocations: 0.5717 MB / 1.464 GB, free: 13.87 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/1.119, allocations: 0.8391 MB / 1.464 GB, free: 13.02 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/1.12, allocations: 0.6823 MB / 1.465 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=85): time 2.975e-06/1.121, allocations: 0 / 1.465 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of matching and sorting (n=85): time 0.004457/1.125, allocations: 1.744 MB / 1.467 GB, free: 12.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.569e-05/1.125, allocations: 123.1 kB / 1.467 GB, free: 12.57 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/1.127, allocations: 1.034 MB / 1.468 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/1.127, allocations: 47.17 kB / 1.468 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004712/1.128, allocations: 0.5342 MB / 1.468 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000273/1.128, allocations: 268.5 kB / 1.469 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/1.128, allocations: 207 kB / 1.469 GB, free: 12 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.128, allocations: 346.5 kB / 1.469 GB, free: 11.69 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/1.13, allocations: 0.5003 MB / 1.47 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/1.131, allocations: 0.7023 MB / 1.47 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002613/1.134, allocations: 1.205 MB / 1.472 GB, free: 11.24 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/1.134, allocations: 0 / 1.472 GB, free: 11.24 MB / 0.9323 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003673/1.137, allocations: 1.472 MB / 1.473 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.453e-05/1.137, allocations: 70.83 kB / 1.473 GB, free: 10.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.137, allocations: 9.125 kB / 1.473 GB, free: 10.99 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/1.138, allocations: 5.375 kB / 1.473 GB, free: 10.99 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/1.139, allocations: 253.6 kB / 1.473 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/1.139, allocations: 10.38 kB / 1.473 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/1.141, allocations: 205.5 kB / 1.474 GB, free: 10.92 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/1.141, allocations: 51.56 kB / 1.474 GB, free: 10.92 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001795/1.142, allocations: 0.7464 MB / 1.474 GB, free: 10.83 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001442/1.144, allocations: 0.6837 MB / 1.475 GB, free: 10.65 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002587/1.147, allocations: 1.191 MB / 1.476 GB, free: 10.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.33e-06/1.147, allocations: 0 / 1.476 GB, free: 10.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.003631/1.15, allocations: 1.466 MB / 1.478 GB, free: 10.22 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.073e-05/1.15, allocations: 69.05 kB / 1.478 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.15, allocations: 2.562 kB / 1.478 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.15, allocations: 10.34 kB / 1.478 GB, free: 10.15 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/1.152, allocations: 263.6 kB / 1.478 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/1.152, allocations: 11.66 kB / 1.478 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/1.153, allocations: 178.8 kB / 1.478 GB, free: 10.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/1.153, allocations: 49.56 kB / 1.478 GB, free: 10.09 MB / 0.9323 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.0004164/1.154, allocations: 311.8 kB / 1.478 GB, free: 9.848 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004392/1.154, allocations: 126.8 kB / 1.479 GB, free: 9.785 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003719/1.158, allocations: 1.487 MB / 1.48 GB, free: 9.613 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/1.158, allocations: 8.094 kB / 1.48 GB, free: 9.613 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.158, allocations: 0 / 1.48 GB, free: 9.613 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/1.158, allocations: 4.484 kB / 1.48 GB, free: 9.613 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005972/1.164, allocations: 2.941 MB / 1.483 GB, free: 9.082 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/1.164, allocations: 6.219 kB / 1.483 GB, free: 9.078 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000949/1.165, allocations: 196.7 kB / 1.483 GB, free: 9.074 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/1.165, allocations: 4.688 kB / 1.483 GB, free: 9.074 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.36e-05/1.165, allocations: 37.09 kB / 1.483 GB, free: 9.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-05/1.165, allocations: 9.531 kB / 1.483 GB, free: 9.066 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.165, allocations: 5.406 kB / 1.483 GB, free: 9.066 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.01933/1.185, allocations: 4.991 MB / 1.488 GB, free: 8.082 MB / 0.9323 GB Error: post-optimization module symbolicJacobian (simulation) failed.